1. Retrieve Your API Token #
Log in to your Assistro Dashboard. Click on your Profile icon, select Settings, and locate the N8n Bearer Token section. Copy this token to your clipboard.
2. Initialize the n8n Workflow #
Open n8n and click Create workflow. Add a Trigger node (such as “Manual Trigger”) to start the flow. Next, add a new Action node by searching for and selecting HTTP Request.
3. Import the cURL Configuration #
Inside the HTTP Request node configuration panel, click the Import cURL button. Copy and paste the code block below into the text box.
Note: The
typefield is set to1(Simple Number). Use2for Groups or3for Newsletters/Channels.
Bash
curl --location 'https://app.assistro.co/api/v1/wapushplus/single/message' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer N8N_BEARER_TOKEN_COPY_PASTE' \
--header 'Integration: n8n' \
--data '{
"msgs": [
{
"number": "receiver_number",
"message": "receiver_message",
"type": 1
}
]
}'
4. Update Authentication #
Click Import to auto-fill the fields. Navigate to the Headers section and find the Authorization key. Replace the text N8N_BEARER_TOKEN_COPY_PASTE with the Assistro API token you copied in Step 1. Ensure the word “Bearer ” (with the space) remains before the token.
5. Customize the Message #
Scroll down to the Body Parameters section. Replace “receiver_number” with the destination phone number (including country code) and “receiver_message” with your desired text.
6. Execute and Test #
Click Execute Node to run the request. Check the target WhatsApp number to confirm the message was received successfully.
