How to Connect ChatGPT (OpenAI) to Knack Flows

Step 1: Create an Account in ChatGPT (OpenAI)

Sign up for a ChatGPT (OpenAI) account here: https://openai.com/index/openai-api/

Step 2: Generate an API Key

Once you're logged in, go to your Dashboard > API Keys: https://platform.openai.com/api-keys

Click the + Create a new secret key button to generate your unique API key.

Important: Copy and save this key immediately — you won't be able to view it again. You'll need it to link your OpenAI account to Flows.

Step 3: Connect ChatGPT (OpenAI) to Flows

There are two ways to establish a connection with ChatGPT (OpenAI) in Knack Flows.

Option A: Via the Linked Apps Tab

  1. Click on Linked Apps in the Flows builder section.
  2. Click + Add Linked App and locate ChatGPT (OpenAI) from the app list.
  3. Name your ChatGPT connection and paste the API key you generated in Step 2.

Your ChatGPT (OpenAI) account is now connected to Knack Flows.

Option B: While Building a Flow

  1. In a new or existing Flow, add a ChatGPT (OpenAI) action (for example, Create Chat Completion).
  2. In the Connect your ChatGPT (OpenAI) account field, click + Add Linked App.
  3. Enter your API key and complete the connection.

Your ChatGPT (OpenAI) account is now saved as a Linked App in Flows and you can start building AI-powered automations.

Note: You can add multiple ChatGPT (OpenAI) connections to Flows using multiple API keys.