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!
3 Likes
I would be absolutely thrilled to discover an Alfred Workflow that allowed quick searching of Airtable.
1 Like
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.
1 Like