HTTP RECIPE
n8n
Use Gravity SMS in n8n workflows with the built-in HTTP Request node (send) and Webhook node (receive). A native n8n node is not yet available.
Prerequisites
- A Gravity SMS API key — dashboard.
- A connected RingCentral account — Connecting RingCentral.
- An n8n instance (self-hosted or n8n cloud).
Send an SMS
Add an HTTP Request node with:
- Method:
POST - URL:
https://smsgateway-api.onrender.com/v1/sms/send - Authentication: Header Auth (or send the header manually)
- Header:
Authorization: Bearer YOUR_API_KEY - Body type: JSON
JSON body
{"to": "+15551234567","from": "+15559876543","body": "Hello from n8n"}
Use n8n expressions ({{ $json.field }}) to wire upstream fields into the JSON values.
Trigger a workflow on inbound SMS
- Add a Webhook node as the workflow trigger.
- Set HTTP Method to
POSTand copy the Production URL (or Test URL while you're developing). - Paste the URL into your Gravity SMS app's Webhook URL field.
- Activate the workflow. Send a test SMS to one of your RingCentral numbers from another phone. The webhook fires and inbound fields are available via
$json.body,$json.from, etc.
Full payload shape: Generic Webhook Recipe.
Consent (TCPA / similar) is your responsibility
Verify each recipient has opted in before your workflow sends. "Trigger on every new record" patterns are the #1 way these rules get violated.
Related
- Generic Webhook Recipe — full payload and response reference
- SMS API Reference