Click a workflow in which you want to use Redshift.
Click + Add step.
Select Integrations > Amazon Redshift.
Click Settings.
In Query, enter a PostgreSQL query you want to run. It can be an INSERT, SELECT, UPDATE, or DELETE query. Make sure it’s one query per integration step. Nested queries and subselects are not allowed.
You can use data references to dynamically build your query and fill it with values from your workflow instance. You can also store query results in variables for using them later in the workflow.
The query will only return a maximum of a hundred rows. We recommend using an ORDER BY statement in your query so that you can control which hundred rows will be returned.
Queries that are very complex and run longer than one minute are not supported.
If you need support to run queries without these restrictions, contact our Support team.