How to wait all operations are complete before proceeding in scenario?

Hi,

I’m working on the following scenario:

  • I receive 2 keywords via a webhook.
  • keywords are split into two separate bundles
  • each bundle is processed one at a time using the DataForSEO module to get related keywords and search volumes.
  • the first bundle is processed through DataForSEO, and the results are sent through several modules to format the data before sending it to an LLM (Large Language Model).
  • once the LLM has processed the first bundle, the scenario loops back to process the second bundle in a similar manner, with a second DataForSEO operation.

Problem: This results in multiple calls to the LLM, each with only part of the total keywords. What I want is for both DataForSEO operations (processing both bundles) to complete before proceeding to send all the keywords together to the LLM in a single request.

Question: How can I configure my scenario to ensure that both DataForSEO operations are fully completed and all data is aggregated before moving on to the next step? I’m looking for a way to “pause” the scenario until all data is ready, then proceed with a single LLM call.

Thanks in advance for your help!

You need to set your Text Aggregator’s “Source Module” to the Text Parser module.

This will “wait” for all the operations to complete before proceeding.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

3 Likes

Oh, that was easy :slightly_smiling_face: Thank you!

1 Like