I have a scenario that watches for a document to be completed on PandaDoc. Once the document is completed I want to use the scenario to send a webhook with data from fields on the document. These fields come via an array. Each array has two primary values that I am interested in: “Placeholder” & “Value”.
I want to set multiple variables based on this array of information. However, sometimes the Pandadoc module will send the data in different orders. So, how can I set a variable of “Billing Contact” when the place holder in the array matches the text “Billing Contact” and then also set the value for that variable from the same bundle in the array?
If you need further assistance, please provide the following:
Please provide the output bundles containing the array by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A. Upload as Text File
Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:
Method 1: Type code block manually
Add three backticks ``` before and after the content/bundle, like this:
``` content goes here
```
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
This will allow others to better assist you. Thanks!
Hope this helps! Let me know if there are any further questions or issues.
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!