Notion Webhooks Are Here! Everything You Need To Know (plus use cases)
What Are Webhooks and How to Use Them in Notion?
Introduction to Webhooks
- The video begins with an introduction to the new feature of webhooks released by Notion, emphasizing its significance for automation.
- Webhooks allow users to automate processes by integrating Notion with other tools, such as tracking new subscribers from a form on a website.
Understanding the Functionality of Webhooks
- Traditionally, automation tools would repeatedly query Notion for updates, akin to a coworker asking if there are any changes. This method is inefficient and costly.
- With webhooks, Notion can proactively send notifications about changes (e.g., new user additions), eliminating the need for constant querying.
Setting Up Webhooks in Notion
- Setting up a webhook in Notion is straightforward; it can be done through database automation actions where users can specify when to send a webhook.
- Users must define a URL for the webhook and can add custom headers or key-value pairs. They also have options regarding which properties of an entry they want to send.
Practical Application Using Make.com
- The speaker demonstrates using Make.com as an automation tool that listens for webhooks. A scenario is created where users name their webhook setup and receive a unique URL.
- After pasting the URL into Notion and setting up key-value pairs, users can choose specific values (like entry names or numbers) to send when triggered.
Testing and Receiving Data from Webhooks
- To test the setup, users create entries in Notion that trigger the webhook. Successful data reception is confirmed within seconds due to low latency from Notion.
- The received data includes essential information like source ID and attempts made by Notion to send the webhook. This allows further actions based on received data.
Advanced Automation Options
- Users can build advanced automations around received data, such as looking up additional information about entries triggered by webhooks.
How to Customize Slack Notifications with Notion Database Automations
Integrating Pay Buttons and Database Automation
- The discussion begins with the integration of a pay button within a database entry, allowing for enhanced functionality when sending properties from the page that triggered it.
- A key use case highlighted is sending customized Slack notifications through Notion's database automations, which previously lacked customization options.
- The limitations of existing Slack integrations are discussed; users can only select a channel without customizing message content, leading to ineffective notifications.
Building Customized Notifications in Relay App
- The speaker demonstrates building an automation in Relay App, emphasizing its user-friendly interface compared to other tools like Make.
- A webhook trigger is set up in Relay App to send notifications to Slack whenever a status changes to "complete," including relevant data such as contract value and responsible person.
Testing and Sending Messages
- After setting up the webhook, the speaker tests it by changing the status to "done" and confirms that values are received correctly for further processing.
- The process of adding steps in Relay App is explained, where messages can be sent directly to specific Slack channels using data from previous workflow calls.
Structuring Messages with Dynamic Data
- The speaker illustrates how to reference dynamic data within messages by navigating through nested objects received from webhooks.
- An example message structure is created that includes client names and contract values dynamically pulled from the payload.
Finalizing and Testing Notifications
- Adjustments are made for accurate data retrieval before finalizing the message setup. This involves ensuring correct paths for accessing values within nested structures.
How to Automate Reporting and Data Syncing in Notion
Automating Reports for Limited Partners
- The speaker discusses the ability to format and control data sent from Notion, emphasizing automation capabilities.
- A specific use case involves a VC wanting to communicate asset management details to limited partners without manual email updates, leveraging existing data in Notion.
- Previously, report creation required manual confirmation and scheduling, leading to delays; now it can be automated with a simple checkbox or status change.
Streamlining Subscriber Management
- The speaker illustrates using a Notion form on a website to collect new subscribers automatically.
- Upon form submission, a webhook can trigger an action that adds the subscriber directly to a newsletter provider like ConvertKit.
- This two-step automation simplifies the process of managing new subscribers without needing complex setups.
Efficient Database Synchronization
- Discusses maintaining synchronization between two databases in Notion while ensuring granular permissions are upheld.
- The previous method involved checking for changes manually; now it can be automated through webhooks that trigger immediate syncing upon any database change.
Conclusion and Further Resources
- The speaker invites viewers to share their own use cases or questions about webhooks in the comments section.