Log Every Webhook Event to Slack Automatically

This n8n workflow watches Webhook for a new event and automatically post a message to Slack. Set it once and it runs 24/7.

difficulty Beginnersetup 25 minresult A hands-off pipeline where every new Webhook event is automatically post a message to Slack in Slack.
  1. 1

    Add the Webhook node

    Start with a Webhook node — set the HTTP Method to POST and copy the generated webhook URL — this is the address you give to any external service that should send data. Set Response Mode to Last Node. This fires the workflow the moment a new event arrives.

  2. 2

    Map the fields with a Set node

    Add a Set node after the trigger to shape the data cleanly. Create fields: readable values from the payload, e.g. event to {{ $json.body.event ?? 'unknown' }} and message to {{ $json.body.message ?? JSON.stringify($json.body) }}. This turns the raw payload into tidy values your destination can use.

  3. 3

    Send it to Slack

    Add a Slack node set to operation Send Message. Connect your Slack workspace, choose the Channel, and set the message Text to a summary built from the Set-node fields, e.g. New event: {{ $json.email }}.

  4. 4

    Activate and test

    Click Activate in the top-right of the canvas. Trigger a test event in Webhook, then confirm it appears in Slack. Once it works, you're done — every new event now flows through automatically.

Frequently asked questions

Do I need any coding skills to set this up?

No. n8n is a visual, drag-and-drop tool. You connect your Webhook and Slack accounts, point the nodes at the right form/sheet/channel, map the fields, and activate. No code required.

Can I filter which events get sent to Slack?

Yes. Add an `IF` node between the Set node and the Slack node with a condition (for example, only send when an amount is above a threshold or a field equals a value). Wire the TRUE branch to Slack and leave FALSE empty to skip the rest.

Can I send each event to more than one place at once?

Absolutely. Branch the workflow after the Set node: connect it to multiple destination nodes so the same event lands in Slack and, say, Slack or a spreadsheet simultaneously.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.