Hey everyone,
I’m having trouble with Airtable’s email automation feature. When I send automated emails containing form URLs with prefilled data, the links get corrupted.
I’ve created a formula that builds a URL to prefill form fields with existing data like name, email, phone, location, etc. Here’s my formula setup:
"https://airtable.com/appYYYYYYYYYYYYYY/pagYYYYYYYYYYYYYY/form"
& "?prefill_Full%20Name=" & ENCODE_URL_COMPONENT({Full Name})
& "&prefill_Contact%20Email=" & ENCODE_URL_COMPONENT({Contact Email})
& "&prefill_Phone%20Number=" & ENCODE_URL_COMPONENT({Phone Number})
& "&prefill_Location=" & ENCODE_URL_COMPONENT({Location})
& "&prefill_Status=" & ENCODE_URL_COMPONENT({Status})
When I test this URL manually by pasting it into my browser, everything works great. All the form fields get populated correctly.
But here’s the weird part - when Airtable sends this URL through email automation, it strips out the underscores from most of the prefill parameters. Instead of prefill_Full%20Name, I get prefillFull%20Name. Strangely, the last parameter keeps its underscore intact.
The broken URL in emails looks like:
https://airtable.com/YYYYYYYYYYYY/YYYYYYYYYYYY/form?prefillFull%20Name=Jane&prefillContact%[email protected]&prefillPhone%20Number=1234567890&prefillLocation=New%20York&prefill_Status=Active
I’ve tried different approaches like storing the URL in a text field first, then referencing that in the email. I’ve also double-checked my field names and formula syntax. Everything looks correct.
Has anyone else run into this problem? Why would Airtable’s email system modify URLs like this? Any suggestions for fixing this would be really helpful.