n8n-guide
n8n-guide
N8n community
Chat room
Sign In

(Use Case) Sending SOLAPI Text Messages (⭐⭐)

Tags
Empty
Date of creation
Nov 19, 2024 1:16 PM
Name
(Use Case) Sending SOLAPI Text Messages (⭐⭐)
Category
Empty
Author
  • data_popcorn

Prerequisite

SOLAPI API Issuance.
•
After connecting to https://solapi.com/ , sign up & log in.
•
Copy the API_KEY and API SECRET values from API KEY.
•
To use an API KEY in SOLAPI, a separate attribute value called 'signature' is also required. A detailed explanation is complex, so I will omit it and https://us-west1-datapopcorn.cloudfunctions.net/solapi-getheaders?apiKey=<API_KEY>&apiSecret=<API_SECRET> Insert the API_KEY and API_SECRET you copied earlier and run it in your browser. If it appears as shown below, it is correct. (The result below is invalid.)
{
    "Authorization": "HMAC-SHA256 ApiKey=NCSZMWRR5WAAJO1Y, Date=2024-11-19T13:26:23.667807+00:00, salt=df239308a67911efbc7a42004e494300, signature=e09a0bec069a2dacfd61642e46084bf9d20c2b2c244418d391430ac8896fd930"
}

Scenario

💡
One line summary
Automated workflow to send custom text messages with SOLAPI API using n8n.
•
Step 1)
◦
In “When clicking 'Test workflow'”, enter the to, from, and text you want to send. (name is not required)
•
Step 2)
◦
Enter your API_KEY and API_SECRET values in the “API Signature Issuer”.
•
Step 3)
◦
In “send-many/detail”, check that the format of the message you want to send is correct. You can copy and change the contents below.
{
  "messages": [
    {
      "to": "010*******",
      "from": "010*******",
      "text": "홍길동님! n8n으로 메시지 성공했어요! 구독과 좋아요 부탁해요! https://www.youtube.com/@data.popcorn"
    }
  ]
}
•
Step 4)
◦
Okay, now let's press test workflow and run it. If you received the text message, success!

(Additional) SOLAPI Recharge

•
Basically, we provide 300P. It is enough for testing, but if you want to send more, you can top up. The minimum is 10,000 won.
•
The text message price is set at 13 won for short messages and 29 won for long messages.
Made with Slashpage