Automatically create, update, and delete integrations within your workflows, for example, to provision workspaces or rotate secrets. These steps can manage integrations across different workspaces based on the credentials provided by the Torq integration or access token:
Create an integration
Update an integration
Delete an integration
Create an integration
Add the step: Add the Create an integration step to your workflow.
Name the integration: Enter a meaningful name for the integration you want to create.
Select the integration type: In the Integration type field, start typing the vendor name and select the vendor step or trigger integration from the dropdown. The unique integration type is populated automatically based on your selection.
Configure the parameters: Once the integration type is selected, the step updates to show the relevant fields for creating the specified integration. Use
$.integrations.<integration name>.<parameter>to access the credentials for this integration type in the current workspace. Credentials can also be saved as workspace secrets, retrieved from an external vault, and more.Specify the workspace: Provide a Torq integration or access token to determine the workspace in which the integration will be created. To use an access token:
Add the Generate Access Token step, which requires a client ID and secret.
In the Create an integration step, click the three-dot menu next to the Torq integration field and select Set values separately.
Provide the context path to the access token:
â{{ $.generate_access_token.api_object.access_token }}
For trigger integrations, the step output includes the integration webhook URL, which must be provided to the third-party service to receive trigger events.
The Discard data execution option is set to Yes by default for this step. This ensures that integration credentials, which may include sensitive data, are not retained after execution and will not appear in step or system execution logs.



