🎉 Early Access Deal — 40% off locked in forever. First 200 customers only.

Claim your spot →

AI (OpenAI)

How to set up an OpenAI connection and add an AI action to your Zaplane workflow

This guide walks you through getting an OpenAI API key, connecting it to Zaplane, and adding an AI action to your workflow so that whenever your trigger runs, Zaplane can automatically generate an image. Make sure your workflow already has a trigger set up before starting these steps.

Part 1: Get an OpenAI API Key

Step 1: Open API Keys

In your OpenAI account, go to API Keys, then click Create new secret key.

Step 2: Create a Secret Key

Give the key a Name (for example, “zaplane”), choose the Project, set Permissions to All, then click Create secret key.

Step 3: Copy Your Key

Click Copy to copy the secret key. Save it somewhere safe — OpenAI won’t show it to you again.

Part 2: Create the Connection in Zaplane

Step 4: Go to Connections

In Zaplane, go to Connections, then click Create credential.

Step 5: Select the AI App

From the app list, select AI.

Step 6: Save the Connection

Choose OpenAI as the Provider, paste your API Key from Part 1, then click Save Connection.

Part 3: Add the AI Action to Your Workflow

Step 7: Add an Action

On your workflow canvas, click the + icon next to your trigger to open the Add Action panel.

Step 8: Select the App

Click Apps to browse available apps, then search for and select AI from the list.

Step 9: Choose the Action Type and Connection

Select an Action Type (for example, an image generation action), then choose the AI connection you created in Part 2 from Select Connection. Click Continue.

Step 10: Configure the Action

On the Configure tab, enter your Prompt, choose the Model, and pick a Size (Square, Portrait, or Landscape). Click Continue when done.

Step 11: Test the Action

On the Test tab, click Test Action to run the action with sample data and confirm it works as expected. Once the test succeeds, click Save.

Step 12: Update and Activate the Workflow

Back on the workflow canvas, click Update to save your changes, and make sure the workflow status is set to Active. You can view execution results anytime from the Logs.

Done!

Your Zaplane workflow is now connected to AI. Every time the trigger runs, an image will be automatically generated based on your prompt.