Make
Send messages and campaigns, estimate their cost, and keep contacts and lists up to date from a Make scenario, or start a scenario when a message is delivered or a campaign finishes. Zapier, Make and n8n covers what the three tools share.
Coming to Make
The Codelia SMS app is being published to Make. Until it is, you won't find it among Make's apps. To use it before then, write to hello@codelia.studio and ask for early access.
Connect
- In a scenario, add a Codelia SMS module and choose to create a connection.
- Sign in to Codelia SMS, and choose the organization the scenario should use. It can act only in that organization.
- Choose what Make can do there. Reading and the two webhook permissions start selected. See opt-outs doesn't, so select it if you'll use the opt-out triggers; sending and changing contacts or lists don't either, so select those for the modules you'll use. You can give it only permissions you hold yourself.
Make labels the connection with the organization and the person who connected it, like "Acme Ltd (Maria)". It shows under Connected apps in the portal.
To connect Make you need the connected-apps:connect permission. Owners, admins and developers have it.
A connection that makes no request for 30 days expires: connect it again.
Which permissions to give it
| Module | Select |
|---|---|
| Send SMS, Send or schedule campaign | Send messages and campaigns, and change or cancel them; and See messages and their status when you set a Maximum cost |
| Estimate cost | See messages and their status |
| Add or update contact | See contacts, and Manage contacts |
| Add contact to list, Remove contact from list | Manage lists |
| The Sender name dropdown | See sender names |
| The Lists and List dropdowns | See lists |
| Message and campaign triggers | Manage webhooks, and See messages and their status |
| Contact opted out, Contact opted back in | Manage webhooks, and See opt-outs |
| Make an API call | What the route you call needs |
A trigger needs both: one to create its webhook, the other to read the message or campaign back (see Triggers). The two opt-out triggers check the number against your opt-out list instead, which needs See opt-outs. It doesn't start selected. If you unselected a permission a trigger needs when you connected, or didn't select See opt-outs, connect again and select it. Set up each trigger again: in each scenario, use the new connection, and add a new webhook to the trigger with it. Then disconnect the old connection under Connected apps. Disconnecting it deletes the webhooks it created.
Actions
- Send SMS: Phone numbers, Message, Sender name, Message type, Maximum cost and Unique ID. It answers with one result per number.
- Send or schedule campaign: Message, Lists, Phone numbers, Sender name, Message type, Send at, Maximum cost, Metadata and Unique ID. Send to lists, phone numbers or both, up to 25 lists. Leave Send at empty to send now, or pick a time 5 minutes to 90 days ahead. Make can't hide Maximum cost once Send at is filled in, so it's ignored then: a scheduled campaign is priced when it sends, so the cost it returns is an estimate.
- Estimate cost: Phone numbers, Lists, Message, Sender name and Message type. Phone numbers alone are priced the way Send SMS prices them; with a list, the way a campaign is priced.
- Add or update contact: Phone number, First name, Last name, Email and Preferred language, a two-letter code like en or el. A field you leave empty keeps what the contact already has.
- Add contact to list and Remove contact from list: List and Contact ID.
- Make an API call: URL, Method, Headers, Query String and Body, for a route the other modules don't cover. Type a path in your organization, like
/: it's added tocontacts https:/, and the API reference lists every route. The body is JSON. A message or campaign sent from here has no Maximum cost check./ api.sms.codelia.studio/ v1/ organizations/ <your account ID>
Leave Sender name empty to send as your default sender name. Maximum cost is an amount in your organization's currency, like 5.00: we price the message first, and the module stops without sending if the price is higher. The price check counts people who opted out, like Estimate cost, so it can stop a send that would have cost less. Its error shows amounts with the currency code, like 65.12 EUR. What it costs has the details.
Unique ID
Fill Unique ID with something unique to the event that started the scenario, like an order number. Repeating it with the same details within 24 hours sends nothing new: the module gets back what the first one did. The details are the phone numbers, the message, the sender name and the message type, and for a campaign also the lists, Send at and the metadata. If any of them is different, it sends, even with the same ID. If the first run was refused or failed, repeating it gets the same answer for 24 hours. Use a new Unique ID to try again.
The scenario isn't part of it, because Make doesn't give an app the scenario's ID. So two scenarios that send with the same details and the same Unique ID within 24 hours send it once.
Without a Unique ID, every run sends, including a run Make repeats.
Triggers
Each trigger starts on one event: Message delivered, Message not delivered, Campaign completed, Campaign finished with failures, Campaign failed, Contact opted out or Contact opted back in. Zapier, Make and n8n says when each one starts.
- Adding a webhook to the trigger in Make creates a webhook here with only that event, named "Created by Make" on the Webhooks screen. Deleting the trigger's webhook in Make deletes ours too.
- Make doesn't give an app what it needs to check an event's signature. Instead, each trigger reads the message or campaign the event names back from Codelia SMS, through your connection, and passes on what it reads. If that message or campaign isn't in the state the event says, the run stops with an error and passes nothing on.
- The opt-out triggers check the event's number against your opt-out list instead: Contact opted out passes it on only while the number is on the list, with the list's source, reason and time, and Contact opted back in only while it isn't. Once a number is off the list nothing records how or when, so Contact opted back in passes on the event's source and time, and both pass on the contact ID in the event, unchecked.
- A message event doesn't include the text of the message. Turn on Include message text to add it.
Known limits
- Deleting a trigger's webhook in Make after you disconnected shows an error. Disconnecting already deleted our webhook, so Make's request to delete it again answers "not found". Nothing is left behind.
- Add or update contact can fail if the same number is added elsewhere at the same moment. The module looks for the number, finds nothing, and creates the contact; if another step created it in between, the create is refused. Run the module again and it updates the contact.
- Add or update contact looks at the first 200 contacts the search finds. The search matches any contact whose name, email or number contains the number, so a full number rarely matches more than a few. If more than 200 matched and the exact one wasn't among them, the module tries to create it and is refused.
- A dropdown shows the first 500 sender names or lists. If you have more, map the value in instead of picking it.
Related
- Zapier, Make and n8n: what it costs, and disconnecting.
- Webhooks: the events and what each one carries.