Documentation Index
Fetch the complete documentation index at: https://docs.royaltyport.com/llms.txt
Use this file to discover all available pages before exploring further.
What are Triggers?
Triggers define how a composer’s workflow is started. Each composer has a trigger type configured at the composer level. When a trigger fires, it passes contextual data into the workflow that you can access with{{trigger.*}} template variables.
Project Selection
Every trigger can be scoped to a specific project. Open the trigger configuration panel and use the Project dropdown to choose which project this composer operates on. When you select a project, two things happen automatically:- The Target Project field on every Review step in the composer is updated to match the selected project.
- If your organization has a variable named RP Project ID, its
idkey is automatically updated with the selected project’s ID.
Variable Sync
The trigger panel also lets you map a project code (e.g.BEATCA251482) to a specific key inside one of your Variables. This is useful when downstream steps or nested automations rely on a variable to know which project they’re working with.
To configure variable sync:
Select a key
The Variable Key dropdown appears and lists all keys inside that variable’s content. Select the key that should hold the project code.
The variable sync fields use progressive disclosure — the key picker only appears after you select a variable, and the value field only appears after you select a key.
Trigger Types
Manual
Run the workflow on demand using the Run button in the composer or canvas header. Manual triggers are useful for testing and for workflows that should only run when explicitly started.Event
Event triggers fire automatically when specific database events occur. The trigger data from the event is available as{{trigger.*}} in your steps.
Available events:
| Event | Description |
|---|---|
| Contract Created | Fires when a new contract is created |
| Contract Updated | Fires when an existing contract is modified |
| Contract Deleted | Fires when a contract is removed |
Schedule
Schedule triggers run the workflow automatically based on a CRON expression. Common patterns:| CRON Expression | Schedule |
|---|---|
0 0 * * * | Daily at midnight |
0 9 * * 1-5 | Weekdays at 9 AM |
0 */6 * * * | Every 6 hours |
0 0 1 * * | First day of every month |
*/30 * * * * | Every 30 minutes |
Webhook (Coming Soon)
Webhook triggers will allow external systems to start a workflow by sending an HTTP request to a unique URL. This enables integrations with third-party services that support outbound webhooks.Related Documentation
Composers
Triggers are configured at the composer level.
Steps
Use trigger data in your steps with template variables.
Test & Deploy
Test your triggers before deploying to live.