Hi community,
I’ve been looking for that answer for days, so this community is my last resort. Thanks for reading and maybe helping me !
Sorry if the topic already has been covered, I haven’t seen it so far.
First, I have an Airtable DB made of two tables :
- Student,
- Event.
(this is for my guitar teacher, let’s call him Ludovic)
The process is easy :
- There is a form new student must complete, and it’s alimenting the student table,
- There is a form Ludovic must complete to create events like “Friday jam” or “Wednesday theory” etc.
⇒ Then I’m using a script in Airtable to trigger the Make scenario, and send SMS to students via Twilio ; Ludovic can send an invitation to :
- Everyone,
- Specific group (we agreed on beginner, intermediate and advanced, but it might evolve),
- Only a few students, added manually,
Below you can see the form :
And some further informations :
- Who do you want to inform ⇒ Everyone | Group | Individually | Group + individually
- Level required ⇒ Beginner | Intermediate | Advanced
- Student ⇒ from the student table (creating a multiple linked record)
Some precision on the second point. I’m only able to do it one group at a time (using a single select field), and I’m working on using “multiple select” so we can send a message to two or more groups.
That being said, trouble begin :
- Ludovic want to send a message to groups + add (or remove) specific students.
So the scenario at the bottom is my last try to achieve it :
- The webhook is sending the informations of the event.
- The output is giving an array of students manually added,
- I’m using a filter to only get students with the deisred playing level.
- I’m using Airtable’s module “Get a record” to get informations on the students with their ID
- Before that, I have to use an Iterator because if I don’t “Get a record” is only able to give one of the students,
- Then I’m using and Array Aggregator to aggregate the students agin, but it’s achieving two operations and that’s my problem !
- So after looking for answers It appears the solution is to use an Aggregator and “close the loop” but it’s still making two operations.
- And at the end, I’m using a “Search records” module to get informations about
- To summarize, I have students with the matching level directly from the student tab (Search records)
- And I have students from the event table, which are a multiple linked records.
- My goal is to aggregate everything in a single array, and then send my message.
Please let me know if you need more informations, I’d be happy to send them.
PS : I apologize if you’re eyes are bleeding, not a native english speaker..