Advanced Techniques
Triggering Workflows in Workflows
In the event that you need to trigger integration logic between different workflows, you can build a Function step that generates a Paragon User Token in order to trigger workflows via a subsequent Request step.
- Add your Paragon Signing Key as an Environment Secret in Paragon.
When adding your signing key as an Environment Secret, make sure to use the single-line “string” format instead of the multi-line “file” format. The key should be a single string with newlines represented as \n
.
- In the first workflow, add a Function step with the following code:
The function takes in the following parameters: userId
and signingKey
, which can be retrieved by using the Dynamic Variable Menu.
- Add a Request step configured for the API Endpoint provided for your specific trigger type. You can more about Triggers and their endpoints here.
Was this page helpful?