Dear FlutterFlow Community,
I am experiencing an issue while trying to send a notification email via the Resend API after a new user registers in my application.
Workflow:
1. A user registers through a form with fields for name and email.
2. Upon clicking the registration button, an "Auth - Create Account" action is executed.
3. Immediately after, a "Backend Call API" action configured for the Resend API is executed.
Objective:
The goal is to send an email to *****@gmail.com notifying about the new registration, including the registered user's name and email in the email body.
Problem:
Despite the configuration, the variables {{name}} and {{email}} are not being replaced with the user's data in the email body sent through the Resend API.
Request:
I would appreciate your help in identifying the cause of this problem and how to correctly configure FlutterFlow so that the variables are replaced in the email body when using an API Call with a JSON body (or plain text) containing HTML.
When I use the JSON format, that's when I'm closest to achieving it, as I receive this in the email:
A new user has registered on the name of the app.
Name and Surname: {{name}}
Email: {{email}}