Forum Academy Marketplace Showcase Pricing Features

Sendinblue plugin (send multiple recipients)

@ZeroqodeSupport

Please, I need to send email using sendinblue to several recipients.

In TO, I couldn’t send a list, like:

[email protected]; [email protected]

It returns the error below. I already put separating with “,” “;”, space after each “,;” and yet, it gives error.

Someway ?

Grateful

image

Hi @jaguarconsultoriadig, thanks for reaching out.
Kindly note that the current plugin functionality doesn’t allow sending emails to a list of users, only one by one (that is why the error appears). Sorry for the inconvenience.

Regards,

Zeroqode Support Team

sendinblue multi email send. it’s a little rough around the edges but it works.

add this code to your bubble api body
{
“sender”:{
“email”:“[email protected]”,
“name”:""
},
“subject”:"",
“templateId”:1,
“params”:{
“greeting”:“This is my default greeting”,
“headline”:“This is my default headline”
},
“to”:[
<
“email”:to email

     >  
     ]

}

  1. Set your API settings with your key

  1. You’ll need an element
    from toolbox plugin called ListItem Expression

    toolbox scrren shot

Set the listitemexpression to carry the email addresses in the correct format
'{ “email” : ’ + JSON.stringify(field(“email”)) + ‘}’

Get the data in the workflow to get the emails from the user not the email itself so don’t drill down to current users list of followers emails (for example) just current user list of followers. because the list item expression is pulling “email” right…
set data source listitemexpressiona

  1. Pass the data to the api and send the emails. you can check you have correct json format by using this Create a new json fiddle - DevFiddle. copy and paste the result in the debugger and past it between the <> while removing the <>. If you get a correctly formatted json it will work.
    call the list from the listitem expression and use the :joinwith to add a comma. Otherwise you’ll get bad format.
    call the api and send the data
    That’s it

Good luck

1 Like

Hi @serviluvapp, thanks for the provided hack.
In a short time, we will also update the plugin with few actions that might be more comfortable to use (no shrinkable JSON bodies) :wink:

Regards,
Zeroqode Support Team

NICE! Great find by-the-way with SendInBlue! You guys/gals are awesome.

1 Like

Hi @serviluvapp, thanks for your appreciation :hugs:
To check changes after yesterday’s update, please upgrade your plugin to the latest version (Version 1.7.0: “Added new actions with static fields”) and give it a try.
Also, you can rate it by going to the Plugins tab in Bubble editor. Find the plugin by name and it gives it as many stars as it deserves :slightly_smiling_face:

The more feedback we get, the more motivated we are to make things better in Bubble :gem:.
Regards,

Zeroqode Support Team

I think I see what you did there. You could use the toolbox to build the body and drop the result in the advanced field to pass the entire json body built like sendinblue wants it. THANK YOU!

{“sender”:{“name":“Alex”,“email”:"[email protected]”},“to”:[{“email":"[email protected]”,“name”:“John”}],“htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}
{“sender”:{“name":“Alex”,“email”:"[email protected]”},“to”:[{“email":"[email protected]”,“name”:“John”}], “htmlContent”:“

Hello,

This is my first transactional email sent from Sendinblue.

”,“subject”:“Subject”}

Future readers on blind carbon copy

dropping “bcc”: [{“email":"[email protected]”,“name”:“Lisa”}], after the “John”}], and before “htmlContent” should work too. I did not test it in your plugin yet but I think that’s how sendinblue wants it.

Hi @serviluvapp, thanks for your suggestion.
We will pass it to the developer team for consideration.
Regards,

Zeroqode Support Team