How to automatically send emails on Notion Database property change?
How to automatically send emails on Notion Database property change?
This article explains how to automatically send emails when a Notion status property changes. The process involves using Notion, Nohooks, Gmail, and Make (formerly Integromat) to set up a webhook, listen to Notion database changes, and send emails on changes. The article provides detailed steps for each tool and includes bonus tips for using the approach with other properties.
Notion started out as a productivity tool but soon expanded into an all-in-one tool to manage projects, employees, orders, inventory, sales, and so on. With expanding use cases, there is a need for Notion to talk to other systems like Gmail, Sheets, Invoice Generators, etc. In this article, we will go through one such use case, i.e. sending automatic emails when a Notion status property changes.
Make (formerly Integromat) - To tie all the other tools together and create a workflow
Step 1: Setup Notion
On Notion, we will be using their sample Tasks database. You can duplicate the database here or you can use your own database.
Setup your desired database
Setup a column that stores the previous value of the property. In this case, we have setup a Previous Status property by duplicating the existing Status property.
💡
We will use the Previous Status property to determine if the Status has property changed since the last time we checked.
Step 2: Setup Webhooks on Make
Make is an automation platform that allows users to integrate various applications and services to streamline their workflows. It enables users to connect different apps and automate complex processes without writing any code.
Log in to your Make account
Create a New Scenario
Add the Webhooks module
Create a new Webhook by clicking on Add. You can name it anything you want.
Copy the Webhook address using the option Copy address to clipboard
Step 3: Setup Nohooks
Nohooks.io enables you to connect and start receiving webhook events based on activities from third party platforms like Notion. So if a database page is added or updated on Notion, Nohooks will inform external services about it.
Create an account on Nohooks
Connect Notion using the “Create Notion connection” option
Specify the Database ID for which you need to listen to the property changes.
Go to your Notion connection and click on the + Add Endpoint option.
Specify a name for the Endpoint and the Webhook address (copied in the last step) under the URL input.
Click on Create Endpoint.
Our Nohooks setup is done! Now, any change on Notion will be propagated to Make through the Webhook address.
Final Step: Bringing it all together on Make
Until now, we have setup the Webhook module on Make. Now, we will connect this module to the Gmail and Notion modules.
But first, the Webhook module needs to understand the structure of the data coming from Nohooks. To do that,
Make a change to the status property in any of the database rows.
Use the Run once option on Make so that it receives a sample change from Nohooks.
After the above two steps, Make understands the structure of the data. This can be further used in the Gmail and Notion modules.
Filter Setup
We need to set up a filter before connecting further modules. This is so that we only send emails when the value in Status property is not equal to the Previous Status property.
Gmail Module Setup
Add the Gmail module to Make and configure it with your desired email subject and body. You can also include your updated page property data.
Notion Module Setup
The next step of this workflow is to update the Previous Status property value to the latest Status property value. This will ensure that we only listen to changes between these two properties and no other property.
To do this, we need to add the Notion module on Make and select the Update a Database Item action.
Now, you have to switch on the Scheduling on Make to ensure that Make trigger the scenario the data coming in the Webhook address.
Conclusion
That’s it! If you change the Status property on Notion, you will get an email for the same.
Do follow us at 🐦 Twitter for more such valuable content about Notion.
Check out 🌎 NotionApps, our tool to create powerful apps from Notion databases, without any coding.
Bonus Tips
You can use either Make, Zapier, or any other automation tool that provides Webhooks.
You can use the same approach for any property type. But, you’ll have to compare each property based on its structure.
Earn 💸 with the updated Notion Affiliate Program! We crafted this guide after analyzing countless reviews and success stories from Notion affiliates, saving you the effort. If you're always recommending Notion, now you can earn 50% of all payments when your referrals upgrade. There's no cap on earnings, making it a lucrative opportunity to convert your recommendations into profit.
No more endless email chains, calls and meetings for status updates on projects and adding new notes. Simplify project and task management for your clients with NotionApps. Create a custom client portal for project tracking, feedback, and resource access. With drag-and-drop tools, real-time updates, and full customization, ensure seamless communication and accessibility on any device. Build a resource hub with articles and FAQs, empowering clients to self-serve. Enhance your workflow and client relationships with NotionApps.
Transform your Notion databases into a user-friendly mobile app with NotionApps, simplifying operations for field and deskless teams. Say goodbye to complex page-based experiences and hello to intuitive drag-and-drop features, real-time data syncing, and seamless access across web, Android, and iOS platforms. Keep your field teams organized and productive with a customized app that effortlessly manages tasks, tracks inventory, coordinates projects, and provides a centralized view of business activities, sales, and other field data. Boost efficiency and collaboration with NotionApps' flexible and accessible solutions.