Schedule API workflow on a list of... API worklow results

Hey there,

I might be missing something here but I can’t find a way to do this:

  1. I’ve set up an API workflow that I schedule on a list of texts (queries)

This api launches google searches > it means that every query leads to multiple results (“organic results”)

  1. What I want to do now, is to schedule an API workflow on every organic result so it’s stored in my DB. My main problem here is that I can not specify the type ‘organic result’ in the parameters of the second API workflow.

The Google search API I use is an “Action” - I’ve tried changing it to “Data” but it doesn’t work anyway.

Any idea ?
many thanks in advance

1 Like

Hi @spacetouristmusic

In the screenshot below, “organic_results” is an array (list)

You’re currently trying to reference an array into a simple text, which won’t work:

In your Schedule API workflow action, you should reference the text result you want to store for each “organic_result”. I don’t have visibility on the API response you’re getting (post a screenshot here if you can) - but it should look something like This API Call organic_results' name

Hi @ambroisedlg thanks for the answer. Indeed I just found out the easiest way is to define and send all the parameters of the organic result I want to store (eg. title, content etc). It’s working like a charm :slight_smile:

1 Like