Latenode

Post Slack messages from incoming webhooks

This template receives a POST on a Latenode webhook, builds a Slack message in JavaScript from the payload, and posts it to the channel you choose. Point any system that can HTTP POST at the webhook URL. Connect Slack and put the bot token on the Slack connection.

Updated Sep 16, 2026Est. run: 8sEst. cost: $0.0005
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Posts to Slack as soon as the webhook arrives
  • Builds the message from the POST body in JavaScript
  • Sends to the Slack channel you choose
  • Keeps the Slack bot token on the Slack connection

How it works

1
Trigger

Receive the webhook

The scenario starts when a POST hits your Latenode webhook URL.

2
Logic

Build the Slack text

JavaScript reads the payload and formats a channel message, including a mention if you map a user id.

3
Action

Post to Slack

Slack sends the message to the public channel you connect.

Setup guide

1

Add the webhook

Add a webhook trigger and copy the URL. Paste it into the system that should start the Slack post.

2

Format the message

Add a JavaScript node to map payload fields into Slack text and, if you want a mention, a Slack user id.

3

Connect Slack

Add a Slack connection with a bot that can post in the destination channel. Map the channel, send a test POST, and confirm the message.

Requirements

A system that can POST JSON to a public HTTPS webhook
A Slack bot token with permission to post in the destination channel
A Slack channel that should receive the message

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.