How to? Logic of this flow

Hi all, I am new on this app and I have one logic question.
I have a flow that connect to an api to get all the contact emails from my email marketing software.
then…
I need to connect to another API and grab all the tags (giving it by the api) for each email on the previous flow
then…
the email with all the tags assigned export it to either mysql or google sheet.

I don’t know how grab the tags for each email. I dont know how to do the loop to search on the tag APi for each email I get from the previous api call

Hey Pablo! Use the API Enrichment step. Pull in your emails, and send them to an API Enrichment step. That will make 1 API call per row, and you can merge in values.

So if your data has a column named Email Address, and your API wants you to send it in the URL, you can do something like this: https://api.example.com/email-tags?email={Email Address} to merge in that column’s value to every request. In the API Enrichment step, you can reference a column name by wrapping it in {curly braces} inside the URL or the Body of the request.

1 Like