Losant API Data Export Email Error - Schemas for email

Good morning. I open this thread to see if someone can help me regarding how to provide an email in the Losant API Data Export node. Specifically, the format looks like this:

The problem is that the email field only accepts hard-coded emails, and I would like that this field could come as an attribute of the payload. The problem is that the node does not accept this syntax, providing the following error:

Looking at the schemas, I see this:
image

So, is there any way with which to manipulate the email coming through the payload so that the node will accept this field for me?

Thank you very much for your time

Hello, here’s where the problem lies - You need to put quotes around your {{data.email}}. As in …

{
  "email": "{{data.email}}"
}

This will render to something like …

{
  "email": "name@domain.com"
}

In your case, you were setting the value as …

{
  "email": {{data.email}}
}

And without the quotes, this renders as …

{
  "email": name@domain.com
}

… which is not valid JSON, hence your error.

Thank you very much, that was it!