Hey there, I’m wanting to send emails to a bunch of users everytime a certain interaction is done that matches their profile
Eg.
There is bunch of surf sports, which surfers can follow. (I’ve completed this already)
When a photographer uploads a photo, I want to notify all surfers that Follow that location, that an image is uploaded to their favourite location
Not sure how to send batch emails, it seems the Send Email function, only sends one at a time?
Should I rather send an array of emails and names to Zapier or Make?
You could do either. With most of my webhooks I will send a JSON object. I like doing it this way as it means I’m just sending a single parameter. Then I use a Parse JSON module on the Make side to unpack it.
Yeah, that’s possible. I normally use templates on the Glide side to prepare the email subject line and email body, and then wrap it all up in a JSON object. So something like this:
{
"email-body": "Hey {name}, a new pic has been added",
"email-subject": "A new pic",
"recipients": [
{
"name": "Mickey Mouse",
"email": "mickey@disney.land"
},
{
"name": "Donald Duck",
"email": "donald@disney.land"
}
]
}
And then on the Make side, you can replace {name} with the names from the recipients collection.
Thanks this is really helpful, however I’m struggling to get the parsing JSON right in Make
I went through this JSON however I just can’t get it right. Do you perhaps have a tutorial on parsing JSON through Make?
However I don’t understand how I would only pull the values I need?
I created a lookup to the column and it’s pulling all users, I only need the users that follow that location?
To get a filtered list, you would first need to create a multiple relation that matches all the rows you need, and then (I would think) a joined list rather than a lookup through that relation.
@Gary_Willmott - just had a quick look and all looks okay. I did notice that your JSON/payload column isn’t used anywhere. I would expect that one to be sent through your webhook.
Okay, I see it, and yes it looks fine in Glide.
So must be something funny going on at the Make end.
Can you give me temporary access to your Make account?