Can you use a string value for an email field or how can I convert string to an email type field? | Community
Skip to main content
Nancy_Rosentha4
New Participant
January 20, 2020
Solved

Can you use a string value for an email field or how can I convert string to an email type field?

  • January 20, 2020
  • 1 reply
  • 2833 views

We are trying to send an alert to multiple people, including a string token populated with an email and an alias email in the "Send Alert" flowstep.  I was wondering if there are any limitations?  Our alerts are not working and I suspect it is because the token is of type "String".  One of the tokens is populated with an email, BUT the field type is "STRING"... could this be the problem? Would this error make it so none of the emails in this list would be sent, or just the token one with the bad type?  Is there a way to convert this string field to an email type possibly in a separate field?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

You can use a String field {{lead.token}} as an Alert recipient. The field doesn't have to have the Email datatype.


Are you sure you using a trigger campaign to call Send Alert? (That's a prerequisite to use {{.tokens}} as recipients.)

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
January 21, 2020

You can use a String field {{lead.token}} as an Alert recipient. The field doesn't have to have the Email datatype.


Are you sure you using a trigger campaign to call Send Alert? (That's a prerequisite to use {{.tokens}} as recipients.)

Nancy_Rosentha4
New Participant
January 21, 2020

turns out the alias that was created was not created with the ability to send from an external source... note to self, validate others work.  Thanks for your insight.

Nancy Rosenthal