Help

Re: Reference looked up emails for automation

Solved
Jump to Solution
3906 3
cancel
Showing results for 
Search instead for 
Did you mean: 
Amy_Herman
6 - Interface Innovator
6 - Interface Innovator

Hi there,

I have a communications calendar that I’m trying to have automate some email sends through the Gmail automation. I have my emails on that table as a lookup field, but the automation isn’t recognizing it as an email address so it’s failing the test.

Is there a formula that will basically copy what’s being looked up and just format properly so that it’s an email address?

Thank you for your help!

Amy

1 Solution

Accepted Solutions

As I mentioned in your other post asking a very similar question, you can do this with a a single Rollup field using ARRAYJOIN()

See Solution in Thread

12 Replies 12

Automations don’t currently work with lookup fields, so you will need to create a formula field that equals your lookup field. Then, use that formula field instead.

Hi @ScottWorld, I tried that but it still didn’t work. How can I make the formula display in “email format” so it is recognized properly?

Please post some screenshots of what’s going on!

Amy_Herman
6 - Interface Innovator
6 - Interface Innovator

Screen Shot 2020-10-08 at 15.25.34 Screen Shot 2020-10-08 at 15.24.57 Screen Shot 2020-10-08 at 15.24.38

It’s not recognizing that the “formatted emails” column is actually email addresses. The test keeps failing.

So grateful for your help, @ScottWorld :slightly_smiling_face:

@Amy_Herman

Ah okay, since you have multiple email addresses per record, your lookup field (and your formula field) are both resulting in an array instead of a text string (which is what the Automation is expecting to receive).

So, you will want to change your formula field to say this instead:

{Recipient Emails} & ""

That will convert your array into a text string, and then it will work! :slightly_smiling_face:

And yes, this would be so much easier if lookup fields just worked natively with automations! Wink, wink, Airtable! :stuck_out_tongue_winking_eye:

Screen Shot 2020-10-08 at 16.35.25 Screen Shot 2020-10-08 at 16.35.09
Screen Shot 2020-10-08 at 16.36.37

Hi @ScottWorld, I’m still getting an error. :frowning: Do you have any other ideas?

As I mentioned in your other post asking a very similar question, you can do this with a a single Rollup field using ARRAYJOIN()

@Amy_Herman You might need to re-run your trigger test. Then re-run your action test.

@Kamille_Parks Thanks for the great rollup idea!

Hi @Kamille_Parks, I’m not seeing the email field since I’m not linking to it directly. I guess I have to rebuild my base in order to follow your suggestion so that I link to email directly instead of participant name. I’m trying to avoid that if possible.