Trying to make the "customer" and "phone" variables from Google Sheets global so the HTTP module can access them to send a PDF via WhatsApp

  1. I have a Google Sheets module with variables.
  2. I have a text aggregator to create an HTML file and then a set variable to declare the variable that collects the entire HTML file.
  3. This variable then creates a pdf.com file that is saved to Dropbox.
  4. Finally, I have an HTTP module that calls the 360Dialog API to send the PDF via WhatsApp.
  5. The problem is that the HTTP module can’t read the “customer” and “phone” variables because the text aggregator module doesn’t allow the variables in the Google Sheets fields to be displayed.
    How can I make these variables global so the HTTP module can detect them? Thanks.

Hey there,

you can either add these values to the aggregator to access them from there, or add a router after the initial Search module. On the first route have a set multiple variables module save the two values. On the second route have the rest of the scenario. In the end use a get multiple variables module to retrieve the variables saved in the first route and you can access them from there.

Thank you. I going to try it.