Apr 05, 2024 02:34 AM
I have linked voiceflow via API with airtable, this works. I would like to filter via FilterByFormula in the parameters, if I then filter on just the order number it works fine. If I filter on just the email address it works fine, but if I filter on both I get the error INVALID_REQUEST_UNKNOWN, with the message Invalid request: parameter validation failed. Check your request data. How can I solve this?
Apr 05, 2024 03:08 AM
Hello @daan1
Try this one.
filterByFormula=AND(REGEX_MATCH({EmailField},"test@test,com"), REGEX_MATCH({orderField},"order_number"))
When you're not sure about a specific field and need to use multiple fields something like SQL LIKE Query.
You can also use OR if you need any match instead of the AND(for all matches) function.
If still have issues then put your formula and table data with structure.
Apr 05, 2024 04:51 AM
Apr 05, 2024 05:40 AM
Hello @daan1
try this
filterByFormula=AND(REGEX_MATCH({Email},"test@test.com"), REGEX_MATCH({Ordernr},"#0000"))
Apr 05, 2024 08:25 AM
Thank you, this works. Now I only have the problem that with order #1 it also takes the order of #1000. How can that still be solved?
Apr 05, 2024 08:29 AM
Replace #0000 with your variable.
REGEX_MATCH({Ordernr},"Your Order ID variable")
Apr 05, 2024 08:31 AM
Apr 05, 2024 08:34 AM
If you already did that then it will work.
Then it's fine.
Apr 05, 2024 08:49 AM
Yes it works, thank you very much for that. Only if I type #100 instead of #1000 it still gets it. How is that possible?