Latenode

Route Close SMS messages to an external phone number

This template starts when Close posts an incoming SMS to a webhook, reads the message in JavaScript, loads the lead in Close, and forwards the text from your Twilio number. Connect Close and Twilio. Put the Twilio Account SID and Auth Token on the Twilio connection. Point Close SMS activities at the webhook URL.

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

  • Forwards Close inbound SMS to the phone you carry
  • Starts when Close posts the SMS to a webhook
  • Loads the Close lead so the text can include a name
  • Sends from your Twilio number

How it works

1
Trigger

Receive the Close SMS

The scenario starts when Close posts an incoming SMS activity to the webhook URL you set.

2
Logic

Read the message

JavaScript takes the SMS body, the from-number, and the lead id from the webhook payload.

3
Action

Load the Close lead

Close returns the lead so the forwarded text can include the contact name.

4
Action

Forward with Twilio

Twilio sends the SMS from your Twilio number to the destination you set.

Setup guide

1

Add the webhook

Add a webhook trigger and copy its URL. In Close, send incoming SMS activities to that URL.

2

Connect Close

Add a Close connection. Load the lead from the id on the webhook payload so the forwarded text can include the name.

3

Connect Twilio

Add a Twilio connection with your Account SID and Auth Token. Choose the from-number that will send the SMS, and set the destination phone. Map the JavaScript text. Test with one inbound Close SMS.

Requirements

A Close account that can post incoming SMS activities to a webhook
A Close API key stored on the Close connection
A Twilio number that can send SMS, with Account SID and Auth Token on the Twilio connection
A destination phone number that can receive the forwarded texts

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.