Send email with SendInBlue

Make sure you don’t have any extra line breaks, I realised those will mess up the JSON code and return errors. And I’m quite sure that no extra line breaks is a JSON syntax rule that we have to abide by.

Remember, try running your JSON code into a validator such as https://jsonlint.com/

Hope it works for you!

That’s strange… VPN shouldn’t affect the domain sending the email (eg. tdhi@yourdomain.com as the sender email).

If SendGrid works for you, then stick to it. SendGrid didn’t work for me despite trying to troubleshoot it for a week plus so I gave up. And SendInBlue’s limits are pretty good.

@msmurfitt you can also try Elasticemail, works fine and good limit also.

1 Like

Thanks @vancewong, amazing tutorial!

1 Like

Hi,
I have an issue. I’m using it for sign up user confirmation. Once a user register the email is sent to the example value of the customer email field even though I have correctly setup the field both in the JSON body and in the custom action field.
Any suggestion?
Thanks,
Dario

Hey Dario, you might want to check if you’re using Magic Text for the user email field. And that magic text should be pulling data from, say, “Logged In User”.

My suspicion for the behaviour you’re experiencing is because you set the example value for the user email field instead of Magic Text.

Magic Text is just Adalo’s term for dynamic data, so it changes depending on conditions such as the user’s email address, name, or any other custom fields you’ve specified in your database.

Hope this works!

Hi and thanks a lot for your answer. Magic text is very clear to me, actually I fixed attaching the custom action not on “signup” botton but on next screen “signup confirmation” screen and now it works. It looks like even though I put in order the actions like this: Signup user -> custom action to send email with sendinblue, that the system perform first the second one. Anyway I’m just an amateur and not a professional of app development so maybe I have some concept wrong in my mind.

Anyway I’m actually facing another issue. When creating a second custom action (order confirmation) with different api-key and different body text, once the action is triggered the system sends both the signup confirmation mail of previous custom action and the mail for order confirmation. Any suggestion on why this happens?
Thanks a lot for your kind support,
Dario

Hello everyone,

I’m trying to send emails through sendinblue. I’ve integrated it as a custom action and the test is successful.

After launching it and click on the button to start the action, nothing happens.

Any ideas what I’m doing wrong?

Thanks!

My best guess is you line up the actions to happen one after the other.

Have you set certain conditions for the custom action to run?

Another place I’d check is certain fields not filled out so the custom action failed.

The successful test just means it’s set up correctly. But the logic might not be correct.

Thanks for your feedback. It was a problem with the setup of the button.
But my next problem is that I get the e-mail informations into SendInBlue but only as a draft. The e-mail is not mailed yet automatically?? I have to go into the system and do send out handmade.

I think you used the wrong API call. Make sure you’re using the email send API and not the one that creates a draft email campaign.

Thats it! I was missing a little snippet. Thanks!!