FileMaker tips, techniques, and news.
By Michael Maness Posted on April 7th, 2022 in FileMaker, Free Downloads
Twilio is a leading cloud communications platform according to a IDC MarketScape report. Their platform is used by major companies, such as Lyft, Twitter, American Red Cross, and Salesforce, expanding digital communications with custom, scalable solutions. A FileMaker and Twilio Integration works great together as well for sending reminder messages to your clients or automated internal communication within your organization. It can also receive information just as well as it sends it out. You could retrieve answers from surveys or appointment confirmations you messaged to customers. Wouldn't it be great if FileMaker notified you when your customers contacted you, just as easily as you contacted them? Through the use of a webhook and a few lines of code, your FileMaker solution can notify you via screen pops when your customers reach out to you.
Let's see what a customer call notification could look like.
Twilio Account - If you already have an existing account, you can log in to your console. If not, you can sign up for a trial account here.
Twilio Console - On the console, you can activate a trial phone number. Once you have an active number, you can navigate to the active number settings by clicking on the active number to configure Twilio to contact your webhook.
Webhook File - This web script is what connects Twilio to FileMaker. When you receive a call to your active number, Twilio's API will pass that call's information to the webhook file, and the webhook file will then pass the information to your FileMaker solution using the Data API. The webhook file must be hosted on a web server and must be accessible over the web to Twilio's API. Twilio's API expects a TwiML response, so our webhook returns a "Hello World!" response to tell the caller. You can read more about what else can be returned from your webhook in Twilio's API Documentation.
FileMaker Solution - You will then need to set up a web log table to store data from incoming calls passed by Twilio, as well as a listener table. The webhook data will contain which phone number was called and that's how you will know which user to notify in your solution.
With a webhook, you can integrate your FileMaker solution with Twilio to provide screen pops, showing call and messaging data and much more. Contact us today if you would like help integrating your FileMaker solution with Twilio!
Did you know we are an authorized reseller for Claris FileMaker Licensing?
Contact us to discuss upgrading your Claris FileMaker software.
Michael is a methodical and consistent application developer with a calm and considerate nature. His humble approach to teamwork, accuracy, and patience are just a few of the qualities that contribute to the high-quality results he produces for his clients.