mdb213
July 2, 2023, 11:13am
1
Hi, I’m stuck and hope someone can help
I’ve got a single API call, an iterator and updating Airtable with the results (multiple records from the call) … all works
I need to make a second API call after the first, for each record returned make another call to get additional data for each record.
I can’t figure out where I may that second call and if I need an additional iterator
Any help appreciated, thanks
Mike
Hmm, You can just use the HTTP Module after the Iterator which will fetch the additional details that is required for Airtable.
Can you share how your scenario looks like at the moment?
1 Like
mdb213
July 2, 2023, 11:50am
3
Hi Runcorn
Thanks for taking time to reply
Currently:
I want to make the second call for each item in the Iterator
Moved it on a little bit by putting the second HTTPS and using the ID from the iterator as a Query String parameter and getting “No filter selected. Expected one of: chart, myRating, id”
Thanks
Mike
Yeah, that’s looks good.
You can now map the results of the HTTP module in the airtable records. Are you facing any issues doing that?
1 Like
Sorry, I misread that, Can you share the API document for the API you are consuming? From the error, the API for GET requests is expecting chart, myRating, id .
1 Like
mdb213
July 2, 2023, 12:54pm
6
It’s the YouTube Data API. Basically want to build a table that I can prioritise videos I want to watch…
Second HTTP request is:
Passing the VideoID from the iterator as a query parameter
Can you crosscheck if you are getting id as part of the response iterator?
1 Like
Hi,
Yes I am without the second HTTP call it’s going to the database as expected
Mike