FileMaker tips, techniques, and news.

By Andy Bowerman  Posted on  February 16th, 2021  in  FileMaker, Free Downloads

FileMaker Slack Integration

Since 2013, Slack’s intuitive IRC-style messaging has helped reshape team communications - to date, with over 12+ million daily active users globally, Slack is where more work happens every day, for organizations of all sizes. With a simple and robust API, Slack is quickly integrated into custom applications of all types, and your FileMaker app is no exception! Slack uses its own apps to accomplish your workspace's various needs, and all of these – Zoom meetings, delivery notifications, Google Calendar event management, and much more – can be controlled through your FileMaker app. Our guide will have your app sending messages to your Slack workspace from FileMaker in no time! 

Set Up a Workspace in Slack

We've included a sample FileMaker file at the end of the article to get you going, but before we get ahead of ourselves, let's get a Slack workspace ready to display the messages we send from FileMaker. The workspace is the primary element of an organization’s Slack structure. If you don’t already have a workspace, setting one up is fast and free – Slack’s guides recommend that even administrators of existing Slack workspace should use a new workspace as a sandbox to practice new features like this. For this article, we set up a workspace for the very illustrious (and very real) stegosaurus engineering firm, Stego Tech. Your workspace comes with some sample channels to divide your team's communication, and more can be added whenever the need arises.

FileMaker Slack Integration- Slack Workspace

Creating a Slack App

Slack's API allows apps to expand the platform’s functionality past simple peer-to-peer messaging by integrating with popular services like BitBucket and Zoom. Slack apps can get pretty complex, but their various APIs make integrating a dream. In order for messages sent from FileMaker to show up in your Slack workspace, check out Slack's excellent guide on creating a new Slack app. For Stego Tech's workspace, I made StegoBot, a lizard automaton that will use webhook URLs to relay Stego Tech's FileMaker messages to Slack.

FileMaker Slack Integration- StegoBot

As noted earlier, channels let you split up your organization's various communications into more specific avenues. For each channel you want FileMaker to message, create a webhook using the Slack App Manager's Webhooks section. We made webhooks that allow StegoBot to send messages to various public, private, and custom channels in Stego Tech's workspace, like the #thagomizer channel.

FileMaker Slack Integration- StegoBot Webhooks

Send Messages

The included FileMaker sample file lets you quickly test your app’s messaging capability. Just paste in your Slack webhooks, select a channel, and send messages with a click! You can modify our script to suit all of your FileMaker needs – like automatically warning the #random channel to evacuate if your warp core's containment field reaches critical levels – or whatever else your stegosaurus engineering firm runs into. Make your API call using FileMaker's 'Insert from URL' script step. This will use cURL and JSON to send a message to one of the Slack webhooks you set up earlier. Here's the general format:

JSON

{"channel":"#random","text":"!! WARNING !!\rWarp core breach\rContainment field at 12%","username":"StegoBot"}

cURL 

-X POST  --header "Content-Type: application/JSON"  --data @$json

After you fire off your call, Slack's API will return a message describing the result – i.e. whether or not your call was successful. Failing calls have extensive documentation on Slack to help you get back on your feet. Successful calls are apparent not only by their message appearing in your workspace, but are rewarded with a coveted and esteemed API message:

ok

Congratulations!

FileMaker Slack Integration- Sample File Slack Message

Conclusion

Augmenting FileMaker with Slack makes it easy to keep your team up to speed on the most critical events in your business as they happen, but that's just the start. With Slack's powerful API, your FileMaker app can take advantage of whatever your organization uses Slack for most. If you'd like help integrating Slack into your FileMaker workflows, contact DB Services!

Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.

Download
Download the FileMaker Slack 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.
Andy Bowerman thumbnail
Andy Bowerman

Andy is a certified FileMaker and web developer who strives for precision and takes pride in his ability to find practical solutions to complex problems. A veteran of the United States Marine Corps, he is mission-oriented and naturally driven to deliver successful results to 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