Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Alfred App Workflow?

Topic Labels: API
3609 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Dear Airtable lovers, could you suggest me how to create a simple Alfred App search workflow for simple searching of defined base? More about Alfred workflows: https://www.alfredapp.com/help/workflows/. Thanks!

2 Replies 2

I would be absolutely thrilled to discover an Alfred Workflow that allowed quick searching of Airtable.

You could do it with a applescript that runs a curl to search your base.

set theResult to do shell script "curl 'https://api.airtable.com/v0/yourBase/yourTable?filterByFormula=(FIND(%22" & projectName & "%22%2C%7BName%7D))' -H \"Authorization: Bearer " & apiKey & "\" -H \"Content-Type: application/json\""

where apiKey is a variable with you api key and projectName is the string you are searching for in the name field.