How to create new rows in a Coda table for new stages reached in Salesforce

Learn how to set up a Relay playbook that optimizes your CRM processes by tracking new Salesforce opportunity stages directly in a Coda table. This guide ensures that every change in the Salesforce opportunity stage triggers the addition of a new row in Coda.
Salesforce logoCoda logo

Create your playbook

To automate this workflow, you'll create a Relay playbook that runs automatically every time an opportunity stage is reached in Salesforce.

Get started by signing up at and clicking "New playbook." Give your new playbook a unique name and emoji.


Add the Salesforce trigger

Every playbook starts with a trigger. This trigger detects the new opportunity that reached to the specific stage.

Click "Add trigger" and select "Opportunity stage reached" under Salesforce. Then, select the stage. If this is your first time using a Salesforce integration in Relay, you'll be prompted to connect your Salesforce account.

Now, every time an opportunity stage is reached in Salesforce, your playbook will run automatically.


Add the Coda "Add row to table" automation

Now all the opportunities reached in "Closed Lost stage" in Salesforce will automatically create a new row in your Coda table. Add a new step and select "Add row to table" from the list of Coda automations.

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


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 an opportunity stage is reached in Salesforce. You can also click "Check now" to do a manual check whenever you'd like.

Get started with

Sign up now and get started with your playbook today