Asana attachments pulling from an airtable record

:bullseye: What is your goal?

I have a scenario where with a webhook I am pulling an airtable record and it then creates an asana task. One of my airtable fields is for attachments which could be empty or have 1 or more attachments - that I want should com in as attachments to my asana task.

:thinking: What is the problem?

I am getting stuck with errors like ‘no data’ when trying to use an iterator module after my ‘create an asana task’ module, or with the module ‘HTTP - download a file’ to get the actual data.

:test_tube: What have you tried so far?

I already tried mapping to the ‘attachment ID’ ‘attachment value’ ‘attachment url’ nothing worked.

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

Hello,

The solution to your problem is actually very simple.

Instead of mapping the URL field into the Iterator module:

You should map the entire array → in your case, the Attachments array:

As a result, the Iterator will execute the HTTP module once for each attachment in your record.

2 Likes

See attached, I did as you said and it’s still coming in empty in my iterator. I see that the attachment came in from airtable, but later it’s empty.

I’m pretty sure you have not mapped Attachment array properly.

Please check it once again. As we can see in your screenshot, Iterator has not received any data.

Example of Iterator config: