Help

Re: Alfred App Workflow?

989 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Tomas_Baranek
5 - Automation Enthusiast
5 - Automation Enthusiast

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
Joseph_Murphy
4 - Data Explorer
4 - Data Explorer

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

RIck_Allen
6 - Interface Innovator
6 - Interface Innovator

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.