LOOM VIDEO: HELP! 3rd party API Loop Write to Database
Hi, I have a simple API request that uses a FOR LOOP to iterate through an array of inputs coming from another table named MATRIX
1) MATRIX table is what I am using as the basis for INPUTS into an API request at Apify.com a web scraping API.
2) COUNTS table where I want to write the results of the API query
I am having trouble looping through the items in the four loop and more importantly, I'm having trouble writing the data that comes back in the API return result to the database it's asking for a scalar data value.
VIDEO:
What am I doing WRONG?
Thanks in advance.
Tim
Comments
-
Hi,
I can see that the result from API is an array, so try to use first filter on it (if in your case there always be one element in an array, if not then you need to specify which one you want)
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback