n8n

How to Capture Discord Links to Notion Library?

Turn Discord slash commands into a shared Notion link library. Team members post a URL in Discord, and the link gets saved to a Notion database with the web page title. Great for marketing and research teams that collect sources all day.

A webhook listens for Discord interaction posts. A type check filters pings and accepts real commands. When a URL arrives, the flow fetches the page, pulls the title tag, and creates a Notion page with Name and Link fields. A final message goes back to Discord to confirm the save. This reduces copy and paste work and keeps your link list clean and searchable.

Setup is simple. Create a Notion database with a Title field named Name and a URL field named Link. Point your Discord interaction endpoint to the n8n webhook URL. Expect faster capture, fewer mistakes in titles, and a reliable source list. Use it for content curation, campaign research, and competitor tracking without leaving chat.

What are the key features?

  • Receives Discord interaction posts through an n8n webhook
  • Checks request type to answer pings and process real commands
  • Fetches the target web page as text using HTTP Request
  • Extracts the HTML title tag with a simple CSS selector
  • Creates a Notion database page with Name and Link properties
  • Sends a confirmation message back to Discord after saving
  • Handles ping replies with type 1 and user replies with type 4
  • Uses last node response mode to return the correct Discord reply

What are the benefits?

  • Reduce manual link logging from 5 minutes to 30 seconds per link
  • Streamline content curation by up to 80 percent
  • Improve data quality by using the exact page title to cut naming errors by 90 percent
  • Connect Discord and Notion so links move from chat to a shared database
  • Handle up to 10 times more links without extra effort

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Discord and Notion. See the Tools Required section above for links to create accounts with these services.
  3. In Notion, create a database with two properties: Name as a Title property and Link as a URL property. Copy the database ID from the Notion URL.
  4. In the n8n credentials manager, create Notion API credentials. Name the credential clearly, then paste your Notion integration token. Share the Notion database with this integration so it can write pages.
  5. Open the Add Link to Notion node. Select your Notion credential, paste your database ID, and confirm the property mapping for Name and Link matches your database property names.
  6. Open the Webhook node. Copy the Production URL. Keep response mode as last node so Discord receives the final message.
  7. In the Discord Developer Portal, create or open your application. Set the Interactions Endpoint URL to the Webhook Production URL from n8n and save.
  8. Create a slash command in Discord with one string option for the URL. The command should send the URL as the first option so the flow can read it.
  9. Activate the workflow in n8n. In Discord, run the slash command with a web page URL. Check the n8n execution, confirm a new Notion page was created, and see the Discord confirmation message.
  10. If Discord shows an unknown interaction error, make sure the webhook is reachable and the reply node returns type 4. If Notion returns 401 or nothing is saved, confirm the database is shared with the integration and the token is valid.
  11. If the saved page has no title, check that the target site has a title tag. For sites without a title tag, consider adding a fallback value in the flow.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Discord

Sign up

Free: $0 / mo (no API usage fees; standard rate limits apply)

Notion

Sign up

Free plan: $0 per member / mo (Public API included)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.