Is dynamic routing possible in make?
I have a search module that is connected to a router which then performs different functions based on the search results. Can a make script add dynamic routes through the router based on the number of bundles it receives? When I use a router I have to create routes based on the number of bundles received. So say if I receive 2 bundles, I can create 2 routes and then add functions according to the values chosen. However is it possible to dynamically add routes if the number of bundles received is unknown?
No, you cannot modify the scenario after it has started executing.
If you can provide more details about what you’re trying to achieve, we may be able to provide further advise.
1. Screenshots of module fields and filters
Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
2. Scenario blueprint
Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
(Note: Exporting your scenario will not include private information or keys to your connections)
Uploading it here will look like this:
blueprint.json (12.3 KB)
3. And most importantly, Output bundles
Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.json
file, and upload it here into this discussion thread.
Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!
Thank you for your response.
My scenario is this
Currently the first airtable search module outputs two bundles of data and hence I have used two routes to create two campaigns. I wanted to know if the airtable output is dynamic and the number of bundles keep changing, is it possible to keep on adding routes as per the number of bundles generated?
But I think that is a limitation of make. So it may not be possible.
Thanks