Sep 04, 2023 01:54 AM
Hi All,
I'm working with an Interface displaying crew scheduling data and have hit a roadblock.
Current Setup:
Desired Feature:
I've been asked to make the emailing department-specific. In other words, when the button is pressed, emails should be sent only to crew members from selected departments.
Challenge:
I thought about adding filters to the Interface to narrow down which records are to be emailed. However, from my understanding, Airtable automations allow only one record to be passed via a button click. This would mean sending each record individually with every button press.
An alternative I considered was creating an Interface form. The user could define their parameters on this form, and upon submission, the automation would recognize and act based on these parameters. However, this would entail the creation of a new table to store form submissions, which I'd like to avoid.
Is there a more efficient way to achieve this functionality without adding extra tables or steps? Would appreciate any insights or ideas. Thanks in advance!
Sep 04, 2023 08:38 AM
If you don't already have one then you should create a Departments table. Crew members would be linked to a Department. Use a Look Up field to get all of the Crew Member email addresses into the Departments table. Then you can use a record picker in Interfaces to select a Department. You will have access to the comma separated list of email addresses which can be used in your automation.
Sep 04, 2023 05:46 PM
Thanks David. This is a good recommendation. I was hoping to not update the schema for a Button action, but it looks like I'll have to in some way. Appreciate you taking the time. Cheers