Setting Up a Redshift to GCS Migration Flow
This guide walks you through the Redshift-to-GCS migration flow, explaining each step so you understand what’s happening under the hood. The flow is designed to take queries from Redshift, process the
1. Flow Trigger and Initialization

i. Trigger on API Request
ii. Initialize Variables

2. Configuration Mapping
Map Redshift Config

3. Create GCS Bucket
GCS Bucket Creation

4. Loop Over Tables



i. Map Query Object

ii. Insert Item to Queries Variable


5. Security Check and Query Handling
Switch: Query Provided?

If a query is provided: Perform a security review before running it.
i. OpenAI Security Scan
ii. Map Security Scan Output

iii. Switch: Query Safe?


Store Safe Query


6. Loop Over Queries


i. Batching Path
Initialize Batch Variables

Infinity Loop for Batches

Inside Infinity Loop:














ii. Non-Batching Path




7. Completion
Return Success Message

Last updated
Was this helpful?

