Help

Re: Alfred App Workflow?

1752 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!

3 Replies 3
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.

Martin_Malinda
6 - Interface Innovator
6 - Interface Innovator

https://community.airtable.com/t5/show-tell/alfred-workflow/m-p/194029#M4167 

This workflow is not meant for searching within a base, but the code is open source and it can be forked to add new functionality, such as search within tables.