Hi everyone,
I’m encountering an issue with a scenario in Make, where I’m trying to integrate leads from Workiz into Pipedrive. The steps I have are as follows:
- HTTP Request: Pulls lead data from Workiz.
- Transform to JSON: Converts the data into JSON format.
- Parse JSON: Successfully parses the JSON into 9 separate bundles, one for each lead in my example (this is designed to regularly pull new leads in after a certain date).
- Set Variable: Used to confirm the phone number being passed through each bundle (I am not sure this step is needed).
- Search Persons in Pipedrive: Uses the phone number from the parsed JSON to check if the person exists in Pipedrive.
Here’s where I’m stuck:
- Parse JSON correctly outputs 9 bundles, each with valid data, including phone numbers.
- Set Variable, however, only shows 2 outputs instead of 9. These 2 outputs are for the same lead.
- Search Persons in Pipedrive same as the Set Variable, it only shows 2 outputs for the same lead.
I’ve confirmed the following:
- The Set Variable module is connected directly to the parsed JSON, so it should iterate through each bundle.
- The “Term” field in Search Persons is mapped to the correct phone number from the JSON output (e.g.,
20. Phone
). - Exact Match is enabled in the Search Persons module.
My Question:
What could cause Set Variable and Search Persons to fail at processing all 9 bundles after the JSON is parsed? Is there a specific setting or mapping I need to check to ensure it iterates correctly through all the bundles?
Additional Details:
- The HTTP request is fetching multiple leads (9) from Workiz via a start date parameter.
- The data structure seems fine coming out of the Parse JSON step.
- I’ve reviewed the execution history and can see all 9 bundles after the Parse JSON step, but Set Variable and Search Persons don’t process them properly.
Thank you so much for your help!