Sep 27, 2022 02:19 PM
There is currently no way to do the following search when finding records in automations:
“Where {text} is within {field}”
I need this so that I can match records containing a tracking number assigned by an outside entity with incoming email messages that are entered into Airtable. I am currently using Zapier, which does this just fine, but would love to see this in Airtable natively.
Sep 27, 2022 08:53 PM
Ah, just for my own curiosity may I have an example of what you’re trying to do?
It seems like the “{Field} contains {text}” condition would work in this context, but as you’ve said it doesn’t meet your needs I realize I must be not understanding something
Sep 28, 2022 07:47 AM
I use airtable to track public records requests for my investigative reporting team at CBS News. I file hundreds of these requests to local governments every year, and need a system like this to manage communications with the agencies.
Here’s how it works:
As of right now (and I’ve tried several times lol) I do not believe it is possible to do that tracking number search in Airtable natively. If I’m wrong, though, please do let me know because Zapier is expensive for stuff like this.
Sep 28, 2022 08:51 AM
Ahhhh, yes I see what you mean about the “is within” bit now
I was trying to think of a way to do this within Airtable, but the only method I could think of would break if you got two emails in quick succession and so I passed on that
I think you could get away with doing this fully in Airtable by:
Here’s something I threw together as a quick proof of concept:
Sep 28, 2022 11:29 AM
Ah yes I should’ve mentioned that for us scripts are blocked by our admins. The joys of working for a large company with weird security policies…
Sep 28, 2022 10:21 PM
Hah, yes, not being able to use scripts certainly will make things interesting
I had a think about this and you could potentially do this without any scripts I believe. You’d need to create some sort of queue system to overcome that issue I mentioned above about getting two emails in quick succession
I’ll run some experiments when I’ve got the time and get back to you
Oct 03, 2022 06:06 AM
Hi @Christopher_Hacker , I think I figured out how to do this entirely within Airtable
The flow would be:
I managed to overcome that double email worry by creating a queue system, and all of the above is done without a script
You’d end up consuming three runs every time an email gets received though, so if that’s a problem you might be out of luck