How to generate ChatGPT responses for new Coda table entries

Relay.app is an automation tool that lets you automate actions across OpenAI, Coda, and many other apps. In this guide, we'll show you how to automatically run the “prompt GPT-4” action in OpenAI for each row added in Coda using Relay.app.
Coda logoCoda > OpenAI
Trigger
Last triggered
Coda logoRow added
OpenAI logoPrompt GPT-4
1

Add the Coda trigger

Every playbook starts with a trigger. The trigger detects changes in your connected apps and runs your playbook in response.

Click "Add trigger" and select "Row added to table" under Coda. Then, select the table. If this is your first time using a Coda integration in Relay, you'll be prompted to connect your Coda account.

Now, every time a new row is added to a Coda table, your playbook will run automatically.

2

Add the OpenAI "Generate response using ChatGPT" automation

Now you can generate responses using ChatGPT. Add a new step and select "Generate response using ChatGPT" from the list of OpenAI automations.

Connect OpenAI to Relay if you haven't already, then fill out the necessary details. You can reference fields from Coda to automatically pass along the right data.

3

Turn on the playbook

When you are done with the playbook, it's time to turn it on.

The playbook will now run automatically whenever a new row is added to a Coda table. You can also click "Check now" to do a manual check whenever you'd like.

What will you automate?

Sign up and get started with your first Relay.app workflow today.
Background imageBackground image