Aug 16, 2022 08:47 AM
Hi all – I’m building a workflow using Power Automate to create forwarded emails as “activity” records in Airtable. I’m having issues understanding the Airtable Connector in Power Automate and wondering if anyone has successfully used the “create a record” action before.
I’m a little stuck with the required field “body”, and weirdly this required field isn’t mentioned in the documentation here: Airtable (Independent Publisher) - Connectors | Microsoft Docs. What exactly is “body” associated with in airtable, and how should I think about what content should go there?
For more context, I’m creating a flow that pushes emails into airtable as a new record. I thought “body” might just be the name of the new record, so I tried pulling “subject” from the email, but the string type is not accepted. Thanks!
Aug 16, 2022 09:12 AM
Hi @Lydia_Jackson,
The Body section is where you will place JSON formatted text to add to your Airtable.
If you have a table with the following fields, Subject, Text, Sender you may want your JSON to look like this:
{
"records": [
{
"fields": {
"Subject": "XXXXXXXX",
"Text": "XXXXXXX",
"Sender": "XXXXXXXXX"
}
}
]
}
Replace the XXXXXXX with the Dynamic fields you want to populate with.
There is an Outlook sync built into Airtable, have you tried that?
Aug 17, 2022 12:53 PM
Thank you – that’s exactly what I needed! I didn’t realized that I should be mapping each of the field using JSON there.
My understanding is the outlook sync is only for the calendar, and my goal is to get emails easily into airtable. The team used Salesforce as a crm prior, and basically we’re looking to replicate the “email to salesforce” workflow there. If I’m missing an easier way to do this let me know!
Aug 17, 2022 01:08 PM
Sorry, I was referring to the Outlook Email sync in Automations. Glad to hear you got it working.
Dec 04, 2022 04:23 PM
Jan 05, 2023 08:41 AM
@Vivid-Squid , thank you! I've had the same question. Would you be able to show how to write it for the attachment field?
Thanks!