In itself the idea is good! However, I recommend that you use this tool https://mailtester.ninja/ which will make your task much easier
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
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!
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
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:
-
sender_email: Specifies the senderās email address. This is where the email will appear to be coming from when the recipient receives it.
-
recipient_email: An array that specifies one or more recipients of the email. Each recipient is represented as an object with an email address.
-
subject: The subject line of the email.
-
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.
-
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.
-
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.
Looking forward to your reply.
Best regards,
Zeroqode Support Team
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
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!
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.
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
Best regards