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 Variables?
Variables let you store named values that can be referenced as template strings inside automation steps. Instead of hardcoding values in each step, you define them once as a variable and reuse them across your workflows.Variable Types
There are two types of variables:| Type | Description |
|---|---|
| Custom | A JSON object you define manually. Use this for configuration, rates, or any static values your workflows need. |
| Royaltyport | A project reference. The variable holds a link to one of your Royaltyport projects, selected from a dropdown. Use this when your workflow needs to know which project to operate on. |
Accessing Variables
In the Automations section of your organization, click Variables in the left sidebar.Creating a Variable
Set the Value
- Custom: Enter a valid JSON object in the content editor.
- Royaltyport: Select a project from the dropdown. The name defaults to
Project ID.
Custom variable content must be a valid JSON object. The editor will show an error if the JSON is invalid before you can save.
Editing a Variable
Click any variable in the list to open it in edit mode. You can update the name and value, then save your changes. The type of an existing variable cannot be changed after creation.Deleting a Variable
Click the trash icon on a variable row, then confirm the deletion in the dialog.Variable Types
Variables come in two types:| Type | Description |
|---|---|
| Custom | A free-form JSON value you define. You can set both the name and the content. |
| Royaltyport | A reference to a Royaltyport project. The variable name is set automatically and cannot be changed. |
Overriding Variables at Run Time
When you click Run from the Automations list view to start a batch run, the Run dialog shows all your variables and lets you change their values before the run starts. These changes are temporary overrides — they apply only to that specific run and do not update the stored variable value. This is useful when you want to test a workflow with a different project or configuration without permanently changing the variable.To permanently update a variable’s value, edit it from the Variables panel in the sidebar instead.
Variable Content
Custom variables store a JSON object. The number of top-level keys is displayed as a badge on the variable row so you can quickly see how much data it contains. Royaltyport variables store a project reference. The selected project name is shown on the variable row.Example custom variable content
Example custom variable content
Using Variables in Steps
Reference variables in any step configuration field using the template syntax:Related Documentation
Libraries
Reusable prompt and script components for your automations.
Steps
Use variables as template strings in step configurations.
Automations Overview
An introduction to automations and how they work.