Getting started with Zapier
This guide will show you how to send and receive SMS messages in Zapier with the Sinch API.
Explore all your favorite applications to see if they have a Zapier app that you can connect to an SMS messaging Zap.
Things you'll need
- A free Sinch account. Find out how to sign up .
- A test phone number. Get your test phone number .
- A Zapier account. Login or create a Zapier account .
Using Sinch as a Zapier Trigger
- Install the Sinch App on Zapier link .
- Click "Accept invite and build zap."
In this first example, you will use the Sinch trigger to fill out a Google sheet every time you receive an SMS to your Sinch number.
Choose App Event
- When creating a Zap, search for "Sinch" when choosing app and event.
- Select “New SMS” as trigger, it will trigger on any new messages sent to your Sinch number.
- The next step is to “Sign in to Sinch” where you will see a prompt asking you to fill out some fields. Find your Service Plan ID and API token in the Sinch dashboard .
- Copy and paste your Service Plan ID and API Token into the Zapier prompt and continue. It should now look something like this:
If you don't have any messages in your service plan, there won’t be any data to collect for Zap. You should see some sample messages and possibly some of your old messages.
Populate data in sheets
- Create a Google Sheet and add two headers columns: Phonenumber and Message .
- Next in your Zap, click continue and search for Google Sheets
- Connect your account and select Create spreadsheet . Go through all the steps and select the Phonenumber column to select the "From" parameter from the Sinch Zap. Do the same for the "message" parameter.
- Click test and review . NOTE: Your Google sheet you should show a new row.
- Click done editing and name your Zap.
Send SMS using Zapier Actions
The next time you send SMS using Zapier, you can choose to use Zapier Actions.
- Add a column to your Google Sheet and call it reply.
- Click the + button in your Zapier dashboard to create a new Zap. In this Zap we are going to use the Google sheets as the Trigger.
- Search for Google sheets .
- Select the trigger New or updated spreadsheet row . Find your sheet by clicking thru the prompts and select reply as the trigger column.
- Test and review, click Do this and find Sinch 1.0.0.
- Select New SMS as action and confirm your account.\
These steps show how every time you enter/update a reply in an existing row, send that reply to the phone number we've in the first column.
Click test and review, and you should have an SMS to your phone.