Automations When a record enters a view, send an email

Hi there, I’m new to the community so apologies in advance if this is posted in the wrong area.

What I’m attempting to do is use the Automations function (next to blocks) to send an email when a new record enters an Airtable view:
Trigger: When a record enters a view.
Action: send an email.

For the email address, I’m asking Airtable to lookup the email address from a linked record ValuesBy LinkedRecordId.
When I select this, I receive the following error in red: ValuesByLinkedRecordId cannot be converted to a string
When the action is changed to send a slack notification, that same email field shows a preview and appears in the body of the notification.
I’ve tried changing the email field to short text, adding quote marks and commas, all unsuccessful.
As a new user, I can’t attach screenshots to this topic. Hope this is enough info.

DThanks

The Airtable support documentation doesn’t explain this anywhere, but Airtable doesn’t support lookup fields for its send email automations because a lookup field is an array instead of a string.

Yes, it’s strange that Airtable’s own automations won’t recognize its own array of email addresses, but the way to get this to work is to create a formula field, where your formula field is:

{Your Email Address Lookup Field} & ""

This formula will convert your array into a string. Then you can use this new formula field as your “send to” email address.

(BTW, note that Airtable’s automations are brand new and are still in beta testing. For more robust automations that give you more power & more control & more flexibility & scheduling capabilities — along with better error messages that explain where things went wrong — I would recommend turning to Integromat or Zapier. Integromat is more powerful & flexible & cheaper than Zapier, although it supports fewer applications at the moment.)

Hope this helps! If this answers your question, could you please mark this comment as the solution to your question? This will help other people who have a similar question. :slight_smile:

1 Like

Thanks @ScottWorld. That worked perfectly. :grinning:

Airtable Support also offered an alternative:
ARRAYJOIN({Your Email Address Lookup Field})

Will certainly look into Integromat.
Thanks again,

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.