"Explain Flow" showing two outputs from Parse XML module?

:bullseye: What is your goal?

I’m setting up an automation so that when a Salesforce field is edited it triggers a Make.com scenario. The Explain Flow shows two responses coming from the XML parser, and because I placed OneDrive after the router I’m now receiving the email twice. I need only one response generated. What could be causing the duplicate output and how can I ensure the scenario runs once per update?

:camera_with_flash: Screenshots: scenario setup, module configuration, errors

You might just need to set a filter before your router to catch only one response.

But i’d be checking why you have more than expected responses first, mind sharing more info for the pass the input & output data for the webhook and the xml parser?

Thanks for replying!, I’ve attached the screen shot of the webhook response, and for the xml parser im just using the the “my data structure” and the auto “value“ as shown in the screenshot. If i were to put up a filter how would I, if both the responses are the same?

I test the xml output and sent a mail , it only processed the data once i.e i only received the mail once.
Even though i see that the xml parser module did break the flow to - let me know if
i’m missing sth

Welcome to the Make community!

The “Explain Flow” is just a depiction of what could possibly occur, but not what actually happens when the scenario runs.

In your case, the Parse XML module could possibly return more than one output bundle, but in the actual live scenario run it only outputs a single bundle.

Therefore, I suggest to not use the “Explain Flow” feature, as long as the live run is exactly what you expect it to do.

I hope this clears the confusion!

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

1 Like

Hey Sam! Yes it does clear the confusion, i have a outlook send email element attached, and i keep recieving the email multiple times, even though i triggered the automation once. I’m a bit confused, in that regards as well.

Hey Jide, thank you for your prompt responses, This is the basic idea, although i have connected the outlook element to send email, and I am receiving it multiple times. Is there a way i can see how its processing the data that triggers the webhooks?

We’d love to help, however, we require more information that demonstrates the problem to help us reproduce the scenario and any issues and errors.

To allow others to assist you, please provide the following:

1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

  • the full scenario, and the zoomed in parts of the scenario that you are referring to (if your scenario is huge),
  • a full scenario run/execution from the history (showing output “speech” bubbles),
  • relevant module fields (showing how you’ve used any built-in functions, and how you’ve mapped the variables),
  • relevant filters between modules (showing which operators and any built-in functions you’ve used, and how you’ve mapped the variables),
  • relevant module input/output bubbles,
  • if applicable, any error messages,
  • and if applicable, any external services (spreadsheet headers/ sample data/ regex101.com/ etc. to show the item/ record exists, and is set up correctly).
Need help❓View instructions ◀

We would appreciate it if you could directly upload screenshots here instead of linking to them outside of this forum. This allows us to zoom in on the image when clicked, and also having improved privacy from third-party sources.

Taking Screenshots

  • Microsoft Windows: Take screenshots using the “Windows Snipping Tool”, by pressing either PrtSc or WinShiftS keys on your keyboard.
  • MacOS: Take screenshots by pressing CommandShift4 keys on your keyboard.

Uploading Attachments

  • Drag image files directly into the rich-text editor, or
  • Click on the upload button in the editor toolbar to select files:

2. Scenario Blueprint

Providing your scenario will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return. This would benefit you in implementing our suggestions as you can view screenshots of the changes or paste corrected modules back into your scenario.

Need help❓View instructions ◀

A. Export Blueprint

In the scenario editor, click the three dots at the top-right, then select “Export blueprint”.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    blueprint.json (12.3 KB)

B. Create Public Share Link

In the scenario editor, click on the Share button:

Read more about the scenario sharing feature in the Help Centre.

3. Properly-formatted Output Bundles from a Scenario Run

Please provide the input/output bundles of each of the relevant modules by running the scenario, or get the bundles from a previous run from the Scenario “History” tab.

Providing the bundles from a scenario run will allow others to replicate what is going on, especially if there are complex data structures (nested arrays and collections) and external services. This helps mapping the correct raw variable names from collections (instead of the label/display name).

Need help❓View instructions ◀

Click on the white speech bubbles on the top-right of each module and select “Download output (or input) bundles”.

A. Upload a Text File

Save each bundle contents in a plain text editor as a moduleNumber-output.txt file. Open the file to check if it has not added additional formatting or encoded the plain text.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    module1-input.txt (1.2 KB)
    module1-output.txt (3.4 KB)

B. Insert a Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the bundles AND format them correctly.

:warning: Formatting IS Important! :warning:

Here are some ways to provide text content in a way that it won’t be modified by the forum.

  • Method 1: Type code fence manually
    Manually type three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight the pasted content, then click the preformatted text/code button

  • Method 3: Upload your file elsewhere and share the public link
    This method is only advised for large files exceeding the forum upload limit.

Sharing these details will make it easier for others to assist you, so that you can get better answers, faster.

@samliew

Integration Webhooks final version.blueprint.json (95.3 KB)
This is the blueprint.

Thank you everyone for the support, I have also come across another issue, my automation is running multiple times becuase salesforce keeps re-trying the automation as it doesnt recievie a reponse. I have already added a webhook response infront of the webhook, but i dont understand, is there an issue from makes side that salesforce isnt reciving the acknowledgement or from salesforce side. any guidance will be appreciated.

Is the contents of the response matches what Salesforce is expecting?

Have you tried leaving it blank?

Did you use the correct response headers?

@samliew