I’m trying to combine 2 arrays but can’t quite figure out what I’m doing wrong. I have a webhook that gets an Airtable record which pulls in a “keyword” and a “recordID”. I then send that data to an API after which I want to update the same Airtable record with that updated API info. I thought I should be using an array aggregator so that it would combine the data from the webhook (record id and keyword) and the api info, then iterate through that. My output array looks like this: Zight 2025-02-21 at 3.07.56 PM where “tasks” is coming form the api and keywords are coming from the webhook. In the iterator I can only select one array in order for it to show individual bundles correctly. I can’t merge the info. Ultimately I want to be able to merge the recordID so that it knows what to update in Airtable. Zight 2025-02-21 at 3.09.15 PM
I partially used (fought with) ChatGPT to help with this. After a long battle, I setup the record id to map the keywords from the webhook and then the keyword to match it from the iterator. Then under keyword difficulty I picked that from the iterator as well. I’m not even sure if the aggregator is necessary but I think it’s working since it seemed to finally output the bundles correctly and update the individual records. I wanted to add another api in between here but not even sure how I would then go about combining that data.
I can’t access zight to view images, could you please upload them directly to your post?
To allow others to assist you with your scenario, please provide the following:
Relevant Screenshots
Please share screenshots of your scenario, any error messages, relevant module fields, and relevant filter settings. It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
Scenario Blueprint
Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
Please provide the output bundles of the modules 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”.
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.
By providing these details, it will allow others to assist you better.