Latenode

Instantly sync Facebook Messenger to your WhatsApp for real-time alerts

This template starts when Meta sends a Facebook Messenger event to a Latenode webhook, looks up the sender, shapes a short alert in JavaScript, and sends it with WhatsApp Business Cloud.

Connect Facebook Messenger and WhatsApp Business Cloud. Put the Cloud API token on the WhatsApp Business Cloud connection. Paste the webhook URL into the Meta app that delivers Messenger events. Use an approved template when Meta requires one.

Updated Sep 16, 2026Est. run: 5sEst. cost: $0.0003
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

  • Sends a WhatsApp Business Cloud alert when a Messenger event arrives
  • Starts from the Meta webhook payload
  • Looks up the sender and maps the text in JavaScript
  • Keeps the WhatsApp Cloud token on the WhatsApp Business Cloud connection

How it works

1
Trigger

Receive the Messenger event

The scenario starts when Meta posts a Facebook Messenger event to the webhook URL.

2
Logic

Build the alert

Facebook Messenger looks up the sender. JavaScript turns sender and message text into a short WhatsApp body.

3
Action

Send on WhatsApp

WhatsApp Business Cloud delivers the alert to the number you set. Use an approved template when Meta requires one.

Setup guide

1

Add the webhook

Add a webhook trigger and copy its URL. Paste that URL into the Meta app that should send Facebook Messenger events.

2

Connect Facebook Messenger and WhatsApp Business Cloud

Add a Facebook Messenger connection with access to look up senders. Add a WhatsApp Business Cloud connection. Put the Cloud API token and phone number id on that WhatsApp connection.

3

Map and send

Look up the sender, then in JavaScript build the alert from sender and text. Send with WhatsApp Business Cloud to the destination number. Send a test Messenger message and confirm the WhatsApp arrives. Use an approved template when Meta requires one.

Requirements

A Meta app that can post Facebook Messenger events to a webhook URL
A Facebook Messenger connection that can look up senders
A WhatsApp Business Cloud phone number that can send messages
A WhatsApp Cloud token stored on the WhatsApp Business Cloud connection

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.