📝 Overview
By integrating Yoom with Notion, you can automate various actions.
In this guide, we'll explain how to set up a Flowbot that distinguishes between record creation and updates using Notion's app triggers.
⭐️ Important Notes
Notion app triggers offer four types of events:
When a page is created or updated
When a database is created or updated
When a page in a specific database is created or updated
When receiving a Webhook
The "When a webhook is received" trigger allows you to separate events in Notion and capture them in Yoom. By using this trigger, you can distinguish whether a record is being created or updated when the event occurs.
However, note that the webhook trigger is only available on paid Notion plans. For users on the free plan, we will focus on using the "When a page is created or updated" trigger.
🛠️ How to Configure
Step 1. Set Up the Trigger
First, configure the trigger as follows:
Choose "When a page is created or updated in a specific database."
Pay attention when checking the Notion database ID and page ID.
👉 For reference, consult this guide for checking the Notion ID:
Step 2. Configure Branching
Next, add a branching action to differentiate between record creation and updates.
Compare the creation date and last updated date.
If they are the same, the record will be considered newly created.
If the dates differ, it will be considered an update.
☝️ Note:
Branching operations are available with the Plus plan or higher. You can also try the paid plans with a two-week trial. If you're using the free plan, refer to this article for more information: What you can do with the free trial and how to get started
Step 3. Retrieve the Record and Set Up Subsequent Operations
For the newly created route (or based on your branching), select the Retrieve Record (by ID) action to retrieve the Notion record (using the ID search). Use the object ID obtained from the trigger to fetch the record details.
After retrieving the record, you can set up additional actions, such as sending notifications to a chat tool or adding data to other databases. By setting this up, you'll successfully separate the creation and update events, triggering the flowbot accordingly.
That's how you can run a Flowbot by distinguishing between record creation and updates using Notion's app trigger. 🎉
📚 Related Guides
Common Errors & How to Check Them for Each ID in Notion - View Guide Here
Related Keywords
Related Keywords
Notion, update, branch, Flowbot, trigger actions, manage database