šŸ“§ Sendinblue SMTP A free alternative to Sendgrid mails by Reduble.com

In itself the idea is good! However, I recommend that you use this tool https://mailtester.ninja/ which will make your task much easier :slight_smile:

Hi there,

I’m using your plugin for sending emails from my business email (I’m not using a free gmail account, I’m using the paid ā€œinfo@mydomain.itā€) to my customers.

They’re receiving emails with following fields.
From: info@261661798.t-sender-sib.com
Reply to: info@qreo.it (which is the correct one)

You can find a screenshot below of the workflow I’m using. How can I make the same email that appears in ā€œreply toā€ also in the ā€œfromā€ field?
My customers, seeing those weird numbers after the @, they think it’s just spam.

Below, you can also see that everything looks correctly done in my settings.

Also, since I’m using a template from Brevo, I’d like to understand better what’s the correct syntax to use both in Brevo and Bubble workflow to make everything works perfectly but in your documentation I haven’t found any example for this kind of workflow, and also I haven’t found anything that explain what to put into the Brevo template for receiving the parameter I will send from Bubble.

Last question: what is the param count used for? I understand how the name could be used but what about the count? and are there any other useful parameters we could use?

Could you please provide some example or some detailed informations?

Thank you!

Bro , why are you using plugin for this ? You want to use Brevo with templates you have created with dynamic values ?

Thanks for replying :slight_smile:

I’m using the plugin cause I need mail automation based on actions occurring within the app.

Yeah I’d like the name in the Brevo template to become parametric and passing the parameter from bubble but I don’t know how to do it in Brevo and what syntax to use in the bubble plugin when using the workflow shown in my previous message.

Also, I’d like to understand what the ā€œparam_countā€ can be used for.

Can you help me? thank you in advance! :slight_smile:

Sure here is how you set it up natively , 1) go to plugins , download bubble api connector
2) In ap connector name the api lets says brevo_api > authentiction type non or self handled
3)Add an api call under that ; request POST
endpoint : https://api.brevo.com/v3/smtp/email
headers ;
key : accept value application/json
key : api-key value : yourapikey
key : content-type : application/json
body type : json
example parse on that body json
{
ā€œsenderā€: {
ā€œnameā€: ā€œusernameā€,
ā€œemailā€: ā€œusername@example.comā€
},
ā€œtoā€: [
{
ā€œemailā€: ā€œ<go_email>ā€,
ā€œnameā€: ā€œ<full_receiver>ā€
}
],
ā€œtemplateIdā€: 1,
ā€œparamsā€: {
ā€œcountā€: ā€œ<dynamic_count>ā€
}
}

In this example your templateId that you have created in brevo is 1 , and it take only 1 parameter that is params.count . To attach that value in that template go to brevo template 1 , write {{ params.count }} and save the template , reopen it , there you go now it can take count .

If you find my documentation or example troubling or if it gives you error , paste this text to chatgpt and ask where is the problem here , Send a transactional email here is the brevo documentation . You don’t need plugins for this

2 Likes

Hello @f.dannunzio92,

Thanks for reaching out to us.

It seems you are using ā€œSend SMTP Mail + Templateā€ action from our plugin which is structured to define the details of an email that is to be sent programmatically. Here’s a breakdown of its components:

  1. sender_email: Specifies the sender’s email address. This is where the email will appear to be coming from when the recipient receives it.

  2. recipient_email: An array that specifies one or more recipients of the email. Each recipient is represented as an object with an email address.

  3. subject: The subject line of the email.

  4. replyTo_email: Specifies the email address that should be used if the recipient decides to reply to the email. This doesn’t have to be the same as the sender’s email.

  5. params: A set of parameters that can be used within the email template to customize the content. For example, ā€œuserā€ and ā€œcountā€ could be placeholders in the template that are replaced with actual values when the email is sent.

  6. templateId: An identifier for a pre-defined email template. This template would be used to format the email content according to a specified layout and design.

Regarding the purpose of ā€œparam countā€ is that they are used to pass dynamic data to the email template. These values are placeholders within the template that get replaced with actual data when the email is compiled and sent. This allows the template to be reused for different recipients and contexts without modifying the template itself.

  • "user": "<params_user>" - This represents a variable in the email template that will be replaced with the value of <params_user>. For example, if the template has a greeting like ā€œHello {{user}}ā€, and "user" in "params" is set to ā€œJohnā€, the resulting email will say ā€œHello Johnā€.

  • "count": "<params_count>" - Similarly, this is another placeholder in the template that will be replaced with whatever value is assigned to <params_count>. It could be used to convey quantitative information, like the number of items in a cart, days left in a trial period, etc.

Hope this information will prove helpfull to you, please let us know about your progress. :pray:

Looking forward to your reply.

Best regards,
Zeroqode Support Team

@ZeroqodeTeam

Still can’t manage to make it work.
I’m attaching a couple of screenshots from my workflow and from the Brevo template. There’s some mistakes for sure because the bubble app is not sending the email.

I have no JSON skills and there’s no example to take inspiration from for the use of params with template, so please could you tell me what I’m doing wrong both in workflow and Brevo template and what should I type in case I wanted the name to be ā€œJohnā€ and quantity (shown in Brevo template) to be, for example, ā€œ4ā€ ?

Thank you in advance!

Hello @f.dannunzio92,

Thank you for reaching out.

In the params_user and params_count fields, simply use the name and any additional attribute you want to include in your message, such as ā€œJohnā€ and ā€œ4ā€ respectively(img). Then, in your Brevo template, use {{params.user}} where you want the name ā€œJohnā€ to appear and {{params.count}} where you want ā€œ4ā€ to be displayed: (image) - > (image). This technique will help you automate your use case effectively.

We hope you find this information useful. Please keep us updated on your progress.

Thank you once again, and we look forward to hearing from you.

Best regards,
Zeroqode Support team

1 Like

All clear now. Thank you very much!

Hello @f.dannunzio92,

Thank you for your message.

It’s fantastic to hear that everything is clear now, and your positive feedback is incredibly valuable to us.

Please don’t hesitate to reach out again if you need help or assistance—it would be our pleasure to assist you! :blush:

We’d be immensely grateful if you could share your experience by leaving a review. This not only supports our work but also helps others in the Bubble community make informed decisions.

To rate our plugin, please visit the Plugins tab in your Bubble editor, find our plugin by name, and share your thoughts through the rating system.

Additionally, for broader feedback, consider leaving a review on Trustpilot at Zeroqode on Trustpilot. Your insights are invaluable and encourage our team to maintain exceptional service. :pray:

Wish you a great day ahead!

Best regards,
Zeroqode Support Team

Hi,

Jumping in on this. What do we do when we want to add more than one parameter? Struggling to understand.

Thanks

Hi @lewisam.org.an,

Thanks for reaching out to us!

We’ve set up simple actions to make it easier to set up, especially if you have a straightforward use case and don’t need much customization. If you want to send a simple email with multiple CC, BCC, or other parameters that aren’t included in the simple action, we recommend using the advanced version of the actions. This allows you to modify the call to achieve the desired functionality.

To confirm and avoid any misunderstandings, you can add dynamic data to the code as shown in this action.

A quick way to generate the JavaScript code with all the necessary parameters is to access the Brevo Documentation by clicking here. You can add all the required information by adding the different objects and see an example of how the code should look on the right (Shottr).

Let us know if you need more information or if we’ve misunderstood your question :pray:

Best regards :sunflower:

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi, I am trying to send a private file with template but it is not working. When the file is not private then it is no problem. Do you have any idea why ?

Hi @ythomas ,

Thanks for reaching out! :pray:

When sending files with the Brevo plugin, please note that private files in Bubble are not publicly accessible by default. Because of this, the plugin might not be able to access or attach private files during the email sending process.

We recommend checking the file privacy settings and ensuring that the files are accessible by the plugin during the sending process.

Looking forward to your reply. :sunflower:

Regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hello @ythomas,

Just following up on our previous message regarding the Brevo plugin and file privacy settings.

Please let us know if you had a chance to check the file permissions or if you need any further assistance with this.

Looking forward to your update!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi thanks for your reply and sorry for my late reply. The file is attached to a user. When I send mail via Sendgrind it is working but with Brevo it is not. Whne looking on the Brevo logs they tell me : ā€œAttachment for message id … can not be downloaded, Possible reason could be attachment size greater than 20MB, attachment endpoint inaccessible or invalidā€ The size is not over 20MB and the attachment endpoint is pdf.

Hi @ythomas,

Thanks for your message and apologies for delayed response over the weekend. :pray:

To better understand the issue, could you please share some more details about your workflow setup? A short screencast showing your workflow in the Bubble editor, with the debugger and browser console open, would be very helpful for us to pinpoint what might be going wrong.

Also, it would be great if you could compare your setup with our demo page here:
Brevo (Sendinblue) Demo Page
This demo demonstrates a working example of sending attachments with the Brevo plugin.

Additionally, please take a look at our documentation for the Brevo plugin here:
Brevo Plugin Documentation
It includes important notes and best practices regarding attachments and file accessibility.

Looking forward to your reply and happy to assist further! :sunflower:

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi, thanks for your reply. When I try to send a private file (checking the private file checkbox)

it sends me an error on Brevo logs.
When I don’t check the box it is working.

I looked the demo page and documentation but you don’t use this checkbox so maybe it is not possible ?

Thanks

Yvain

Hi @ythomas ,

Thank you for sharing these details. :pray:

The ā€œAttach toā€ field in Bubble is designed to associate a file with a specific data entry, which then protects it through Bubble’s privacy rules. While this is useful for securing sensitive files within your app, it can conflict with external services like Brevo that need direct access to the file for sending.

Our Recommendation:

  • Continue leaving the private file checkbox unchecked when sending through Brevo
  • The file will remain accessible for the email send while still being secured through Bubble’s standard file management

Let us know if this makes sense or if you’d like to explore other options.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

1 Like