Add articles to a Notion list by accessing a Discord slash command

Nodes

9dd572aa-e531-4ffe-a66c-58ac7003ac5d3b9f1b78-6b80-4575-aa6c-9669870003898c6be9a3-5bfc-4944-bb99-86bb97507a26

Created by

HaHarshil Agrawal

Last edited 38 days ago

This workflow allows you to add articles to a Notion reading list by accessing a Discord slash command.

Prerequisites

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.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!