I'm working on a content scraping project.
The workflow involves:
- Master Scenario: Retrieves URLs from Airtable and determines if they are complex or simple to scrape.
- Subscenario 1: Scrapes the simple URLs.
- Subscenario 2: Scrapes the complex URLs.
In the Master Scenario, after formatting the output as JSON, I've added a 'Call a Subscenario' module. The output appears to be correct.
I've configured the Scenario input & outputs, specifically the input fields for Subscenario 1 (haven't reached Subscenario 2 yet), and initiated the scenario with an Iterator.
Challenge: Despite various attempts, including using callin.io's AI Assistant, the data isn't transferring to the Iterator.
Here are 5 screenshots:
Master – Call a Subscenario Setting
Master – Call a Subscenario Output
Subscenario – Scenario Inputs & Outputs Settings
Subscenario – Iterator Setting
Subscenario – Iterator Output
What could be the issue?
Any advice would be greatly appreciated.
Thanks in advance.
Hi there, could you also let us know what the 28. Choices[] Message.Content
looks like? I suspect it's a simple JSON object? If that's the case, you might want to use the Dynamic Collection input type. This input type automatically converts a JSON string into a Collection, which you can then utilize within your subscenario. Additionally, if you begin your subscenario with the 'Start a Subscenario' module, you'll be able to view the parsed input values, making it easy to map them in later modules.
Another option is to insert a 'Parse JSON' module before the 'Call a subscenario' module. This would generate a parsed JSON object as output. Then, you would only need to map the specific property containing the array of URLs to the call module.