Save yourself the work of writing custom integrations for Webhook and Notion and use n8n instead. Build adaptable and scalable Development, Core Nodes, and Productivity workflows that work with your technology stack. All within a building experience you will love.
How to connect Webhook and Notion
Step 1: Set up n8n
Step 2: Create a new workflow to connect Webhook and Notion
Step 3: Add the first step
Step 4: Add the Webhook node
Step 5: Authenticate Webhook
Step 6: Add the Notion node
Step 7: Authenticate Notion
Step 8: Configure Webhook and Notion nodes
Step 9: Connect Webhook and Notion
Step 10: Customize your Webhook and Notion integration
Step 11: Save and activate workflow
Step 12: Test the workflow
Add articles to a Notion list by accessing a Discord slash command
This workflow allows you to add articles to a Notion reading list by accessing a Discord slash command.
Prerequisites
- A Notion account and credentials, and a reading list similar to this template.
- A Discord account and credentials, and Discord Slash Command
connected to n8n.
Nodes
- Webhook node triggers the workflow whenever the Discord Slash command is issued.
- IF node checks the type returned by Discord. If the type is not equal to 1, it will return true, otherwise false.
- HTTP Request node makes an HTTP call to the link and gets the HTML of the webpage.
- HTML Extract node extracts the title from the HTML which we will use in the next node.
- Notion node adds the link to your Notion reading list.
- Set nodes set the reply values for Discord and register the Interaction Endpoint URL.
Nodes used in this workflow
Copy workflow
Popular Webhook and Notion workflows
This workflow allows you to add articles to a Notion reading list by accessing a Discord slash command.PrerequisitesA Notion account and credentials, and a reading list similar to this template.A Discord account and credentials, and Discord Slash Command connected to n8n.NodesWebhook node triggers the workflow whenever the Discord Slash command is issued.IF node checks the type returned by Discord. If the type is not equal to 1, it will return true, otherwise false.HTTP Request node makes an HTTP call to the link and gets the HTML of the webpage.HTML Extract node extracts the title from the HTML which we will use in the next node.Notion node adds the link to your Notion reading list.Set nodes set the reply values for Discord and register the Interaction Endpoint URL.
Remember when you were doing some large research and wanted to quickly bookmark a page and save it, only to find premium options? Worry not; n8n got you covered.You can now create a simple bookmarking app straight to your browser using simple scrips on your browser called bookmarklets.A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser.To create one, we need to add a short script to the bookmark tab of our browser like belowA simple hack is to open a new tab and click on the star that appears on the right sideNow that we have our bookmark, it's time for the fun part.Right-click on the bookmark we just created and select the edit option. This will allow you to set the name you want for your bookmark and the destination URL. The URL used here will be the script that shall "capture" the page we want to bookmark.The code below has been used and tested to work for this examplejavascript:(() => { var currentUrl = window.location.href; var webhookUrl = 'https://$yourN8nInstanceUrl/webhook/1rxsxc04b027-39d2-491a-a9c6-194289fe400c'; var xhr = new XMLHttpRequest(); xhr.open('POST', webhookUrl, true); xhr.setRequestHeader('Content-Type', 'application/json'); var data = JSON.stringify({ url: currentUrl }); xhr.send(data);})();Your Bookmark should look like something like thisNow that we have this setup, we are now going to n8n to receive the data sent by this script.Create a new webhook node that receives the POST request as in the workflow and replace $yourN8nInstanceUrl with your actual n8n instance.This workflow can then be configured to send this data to a notion database. Make sure the notion database has all the required permissions before executing the workflow. Otherwise the URLs will not be saved
This workflow recieves webhook data from a form submission and creates a new user (with name and email) if necessary. It also add the current semester of the program to the relation for the user.
Use CaseIn most companies, employees have a lot of great ideas. That was the same for us at n8n. We wanted to make it as easy as possible to allow everyone to add their ideas to some formatted database - it should be somewhere where everyone is all the time and could add a new idea without much extra effort. Since we're using Slack, this seemed to be the perfect place to easily add ideas and collect them in Notion.What this workflow doesThis workflow waits for a webhook call within Slack, that gets fired when users use the /idea command on a bot that you will create as part of this template. It then checks the command, adds the idea to Notion, and notifies the user about the newly added idea as you can see below:Creating your Slack botVisit https://api.slack.com/apps, click on New App and choose a name and workspace.Click on OAuth & Permissions and scroll down to Scopes -> Bot token ScopesAdd the chat:write scopeHead over to Slash Commands and click on Create New CommandUse /idea as the commandCopy the test URL from the Webhook node into Request URLAdd whatever feels best to the description and usage hintGo to Install app and click installSetupAdd a Database in Notion with the columns Name and CreatorAdd your Notion credentials and add the integration to your Notion page.Fill the setup node belowCreate your Slack app (see other sticky)Click Test workflow and use the /idea comment in SlackActivate the workflow and exchange the Request URL with the production URL from the webhookHow to adjust it to your needsYou can adjust the table in Notion and for example, add different types of ideas or areas that they impactYou might wanna add different templates in Notion to make it easier for users to fill their ideas with detailsRename the Slack command as it works best for youHow to enhance this workflowAt n8n we use this workflow in combination with some others. E.g. we have the following things on top:We additionally have a /bug Slack command that adds a new bug to Linear. Here we're using AI to classify the bugs and move it to the right team. (see this template and this template)We also added other types, like /pain to be less solution-drivenTo make it easier for everyone to give input, we added a Votes column that allows everyone to vote on ideas/pain points in the listWe're also running a workflow once a week that highlights the most popular new ideas and the most active voters (see here)
Creates a new team for a project from webhook form data. When the project is created the current semester is added to it's relation attribute.More info can be found on using this workflow as part of a larger system here.
This workflow sends a new Clockify invoice to a Notion database of your choosing when a new invoice is created in Clockify.PrerequisitesNotion account and Notion credentials.Clockify account.How it worksOn new invoice in Clockify webhook node will trigger when a new invoice is created in Clockify. Setup is involved.Create database page Notion node will create a database page with the information specified from the Clockify trigger. You can add additional fields if required by following the setup.SetupThis workflow requires that you set up a webhook in Clockify. Follow the steps below to set up the webhook:Create a Clockify webhook by going to the webhooks section in Clockify.Create the webhook specifying the "Invoice created" event and paste in the URL provided from On new invoice in Clockify webhook step.You will also have to set up a Notion database:In Notion, create a new database.Add the following columns to the database: Invoice number (renamed from "Name") Issue date (with type "Date") Due date (with type "Date") Amount (with type "Number") Add any other fields you require to the database.Share the database to n8n.By default, the workflow will fill all the fields provided above, except for any other additional fields you add.
+2
ObjectiveIn industry and production sometimes machine data is available in databases. That might be sensor data like temperature or pressure or just binary information.In this sample flow reads machine data and sends an alert to your SIGNL4 team when the machine is down. When the machine is up again the alert in SIGNL4 will get closed automatically.SetupWe simulate the machine data using a Notion table.When we un-check the Up box we simulate a machine-down event. In certain intervals n8n checks the database for down items. If such an item has been found an alert is send using SIGNL4 and the item in Notion is updates (in order not to read it again).Status updates from SIGNL4 (acknowledgement, close, annotation, escalation, etc.) are received via webhook and we update the Notion item accordingly.This is how the alert looks like in the SIGNL4 app.The flow can be easily adapted to other database monitoring scenarios.
Build your own Webhook and Notion integration
Create custom Webhook and Notion workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.
Notion supported actions
- Block
- Database
- Database Page
- Page
- User
Append After
Append a block
Get Child Blocks
Get many child blocks
Get
Get a database
Get Many
Get many databases
Search
Search databases using text search
Get
Get a database
Get Many
Get many databases
Create
Create a pages in a database
Get
Get a page in a database
Get Many
Get many pages in a database
Update
Update pages in a database
Create
Create a pages in a database
Get Many
Get many pages in a database
Update
Update pages in a database
Create
Create a page
Get
Get a page
Search
Text search of pages
Archive
Archive a page
Create
Create a page
Search
Text search of pages
Get
Get a user
Get Many
Get many users
Webhook and Notion integration details
Webhook
Webhooks are automatic notifications that apps send when something occurs. They are sent to a certain URL, which is effectively the app's phone number or address, and contain a message or payload. Polling is nearly never quicker than webhooks, and it takes less effort from you.
Related categories
Notion
Notion is an all-in-one workspace for you and your team. It helps team members create tasks, wikis, and databases all at one place.
Related categories
Use case
Save engineering resources
Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.
Learn more
Webhook and Notion integration tutorials
FAQs
Can Webhook connect with Notion?
Can I use Webhook’s API with n8n?
Can I use Notion’s API with n8n?
Is n8n secure for integrating Webhook and Notion?
How to get started with Webhook and Notion integration in n8n.io?
Looking to integrate Webhook and Notion in your company?
Over 3000 companies switch to n8n every single week
Why use n8n to integrate Webhook with Notion
Build complex workflows, really fast
Build complex workflows, really fast
Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.
Code when you need it, UI when you don't
Simple debugging
Your data is displayed alongside your settings, making edge cases easy to track down.
Use templates to get started fast
Use 1000+ workflow templates available from our core team and our community.
Reuse your work
Copy and paste, easily import and export workflows.
Implement complex processes faster with n8n