Guides
Orchestration
Run connection and models in a specific the order
You might have multiple connections and models that should run in a specific order. Perhaps a model that sends emails based on a HubSpot connection. In those scenarios it can be helpful to orchestrate your assets.
We currently only support orchestration by creating a Python connector that triggers each of your assets in the right order. It might sound complex, but it isn’t. Follow the guide below and you should be good-to-go in less than 5 minutes.
How-To
- Find the IDs of the asset you want to run. You can find these from the folder overview by hovering the asset icon.
- Get your base URL. In this case, I should store the “demo”-part.
- Create a bearer token. Go to View Profile in the bottom, left-hand corner and navigate to API Tokens. Create a token and save it. Note that only Super-Admins can create tokens.
- Copy/Paste the script below into a Python connector.
- Replace the values shown below with the values from Step #1-#3. You can add as many asset_ids as you want to.
Script
orchestration template