Software tips, techniques, and news.

By Michael Maness  Posted on  April 7th, 2022  in  Free Downloads, Claris FileMaker

FileMaker Screen Pop with Twilio

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.

Setup

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.

Twilio Active Number Settings

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.​​

How It Works

  1. When a user logs into the FileMaker solution, the startup script finds the user in the user table and creates a listener record for them. FileMaker then opens a hidden window on the listener layout which has an OnRecordLoad script trigger on it.
  2. When a user receives a call from Twilio, Twilio passes the call to the webhook file.
  3. The webhook file runs a script in the FileMaker solution to create a new record in the web log table and transfers the call data into this record.
  4. After the web log record is created, the webhook will find the user's listener record and delete it, causing our OnRecordLoad script to trigger.
  5. The OnRecordLoad script then performs the screen pop by opening a new window and showing the call's information in front of the user.
FileMaker Screen Pop Twilio

Conclusion

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.

Download
Download the FileMaker ScreenPop and Twilio Integration File
Please complete the form below to download your FREE FileMaker file.
FileMaker Experience *
Terms of Use *
OPT-IN: I agree that I am downloading a completely free FileMaker application file with no strings attached. This file is unlocked, and I may use it for my business or organization as I see fit. Because I am downloading a free file, I agree that I should receive occasional marketing. I understand that I can OPT-OUT of these emails at anytime.
Michael Maness thumbnail
Michael Maness

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.

FileMaker 18 Certified Developer
FileMaker 17 Certified Developer
FileMaker 16 Certified Developer
FileMaker 15 Certified Developer
FileMaker 14 Certified Developer
FileMaker 13 Certified Developer
FileMaker 12 Certified Developer
FileMaker 11 Certified Developer
"We were actually able to add more features than we thought would be possible within our budget. We always experienced a ‘can do’ attitude and DB Services was incredibly patient and easy to work with."
Courtney Hartman
Art Director
"The new FileMaker custom website interface is very user-friendly and easy to follow for our clients. In addition, it is much faster than the old Instant Web Publishing (IWP) interface. Thank you and all the others who have helped us out at DB Services. I am very grateful for the excellent service you provide us. Its nice to know we can call you for help if we have an issue."
Wayne Capek
President
"We needed a solution that would simplify the administration of our responsibilities under our contract with the State of Indiana. We have seen a dramatic increase across the state in the number of potential foster and adoptive parents that have begun the preparation and training process. This increase has resulted in a significant opportunity for children available for adoption. That’s a big win for everyone! And it’s all because we can refer potential parents to the proper state contacts efficiently and quickly."
Chris Morrison
Executive Director
"Thank you for all of your expertise and valuable help. I am so grateful to have found DB Services."
Linda Findlay
Owner
"Thank you for our new database system. We transitioned from a carbon copy paper based system to a digital database. The software has saved us time and money. We used to archive all our jobs in cabinets, now we can look up a job in seconds from anywhere. The software allows us to easily email estimates to our customers in pdf format. In a year there was a return on investment just from eliminating the purchasing of our carbon forms."
Todd Cartmel
Owner
"The new system allows us to create and track jobs for customers along with inventory, something we had been doing with separate word and spreadsheet files. Because it’s now so intuitive, new staff members are able to begin using the database immediately without our usual training session and ‘cheat sheets’ for getting around within the file."
Tom Andrews
President