Hello fellow Gliders,
I need some help with an approach as whatever solution I come up with, there seems to be a catch.
Imagine a Personal Shopping assistant application where there are tables for :
- Personal Assistants
- Customers
- Customer Groups (Imagine a local community they belong to)
- Services a Customer needs (can be of different categories)
- Preferred sellers for each Service Category
Granularity of Service table is per Customer per Category Eg., Jane needs Face Makeup related service.
Granularity of Preferred Sellers is per Seller per Service Category Eg., Seller A for Face Makeup, Seller B for Clothes, Seller C for Footwear and so on. There can be multiple Preferred sellers for each service category.
Once a Customer requests for a particular service, the Personal Assistant who is associated with this particular Customer needs to a send a personalized email to all Preferred Sellers that are associated with this particular service category requesting for proposals. I’m trying to automate this part.
Now the challenge occurs in:
- Grouping information from Service Category and Preferred Seller table as the email needs to have information from both. The only common pieces of information between these two are Customer Groups and Service category. 1 row in Service Category can be linked to multiple rows in Preferred Sellers. Customer details are obviously not part of Preferred Sellers table.
- I need to send a personalized email to each Seller with their company name, the other information like Customer name and details may be the same.
- So there is a need to iterate through each seller and send them the appropriate email content.
The approach I’m trying to implement:
- I defined a table called Proposals where I capture the Seller contact name, Seller email, Seller company, Customer name, Customer address details, Email Subject, Email body, Email sent on, Email status, Personal Assistant, Personal assistant’s email as it’s columns
- The idea is to first populate this table and then iterate through required rows and send the email
Populating this table seems to be a challenge. All information is present in a Resident page including the Services they had opted for. Once the personal assistant clicks on a Service Category, I take them to a page that filters out the list of Preferred Sellers based on the Customer group and category. Now I have the subset of sellers who should receive a bid request. I defined a list collection to display the sellers, on item click I added an action to populate this Proposals table with Seller name, email, company name. I’m unable to access Service category and Customer information from this screen (Service Category table).
This is Challenge number 1.
Assuming I populate this table with required information completely, iterating through the list and sending multiple emails is the second. For this I assume I need to check Zap loops (I use Zapier for other automation) and send email using Outlook integration (as the client use Microsoft outlook)
In short, since the granularity of these 2 tables are different and do not have all common pieces to connect, I’m looking for some workaround, but nothing seems to work.
I know it sounds quite confusing , I can probably share a Loom recording if that’ll help…
Thanks a lot for reading till the end
P.S: I’m open to moving the Send Email button to a better screen, or define a new screen if it’ll help in any ways. This app is using Glide pages.