(Use Case) Automatic Text Message Sending (Overseas) Using Twilio (⭐⭐⭐)

Date of creation
Name
(Use Case) Automatic Text Message Sending (Overseas) Using Twilio (⭐⭐⭐)
Created by
  • data_popcorn

Prerequisite

After creating an account at https://console.twilio.com/ , receive an API key.
Text messages can only be sent using the sender's number.
I checked and it turns out that Korean numbers are not purchased separately. I was assigned a number in the Newman area code in the United States.
Specify your number in Verified Caller IDs .
You can test it in Messeging > Send an SMS.

Scenario

💡
One line summary
This workflow automatically sends personalized text messages to Twilio via a manual trigger in n8n.

1. How it works

This workflow automatically sends an SMS via Twilio when run manually. It’s great for direct communication, including personalized content like the recipient’s name and phone number.

Key steps:

1.
Trigger the workflow manually.
2.
Send custom SMS to specified phone numbers using Twilio.

2. Step Setting

Estimated time : 30 minutes
1.
Prepare your Twilio credentials and connect to n8n.
2.
Make sure your phone number is formatted correctly, including country code.

3. Detailed description of the process

Step 1: Manual Trigger

Node : Manual Trigger
How to set up :
1.
Add a "Manual Trigger" node.
2.
Enables you to run the workflow manually.
Role : Start the workflow by clicking the “Run Workflow” button.

Step 2: Sending Text Messages Using Twilio

Node : Twilio
How to set up :
1.
Add a "Twilio" node to the canvas.
After creating a new Credential, enter the Account SID and Auth Token written in https://console.twilio.com/?frameUrl=/console and save it.
2.
Set the parameters as follows:
From : The caller number provided by Twilio (e.g. +8210 *******).
To : ={{ $json.phone }} to dynamically enter the recipient's phone number.
Create a custom message including the recipient name using Message : ={{ $json.name }} :
{{ $json.name }} 님에게 n8n으로 문자를 자동으로 보냄! 구독과 좋아요 부탁해! <https://www.youtube.com/@data.popcorn> (여기에 본인의 다른 정보를 작성하시면 됩니다! MMS도 되어요.)
3.
Authenticate using your Twilio account credentials.
Role : Send personalized SMS to specified recipients.