⚙️ Foursquare Venue Search -> Venue Details Workflow Formula By steve


Get venue details (including phone number & website URL) from a targeted search on Foursquare using locations and search terms.

Getting Started

Import this formula to add the 2 workflows into your account. Start with the (1/2) workflow and enter your search terms in the source collections. Next provide your Foursquare developer API keys and execute the workflow. When it finishes running, it will send all the venue IDs (de-duplicating them) to the (2/2) step to look up the details. You’ll get back all the details in the (2/2) step for each business found in the search.

⚙️  Foursquare Venue Search -> Venue Details (1/2)

Inputs

Foursquare Location Texts
List
➡️ Location Text

Location in plain text if latitude and longitude not provided.

Foursquare Search Queries
List
➡️ Query

Query to search for, e.g. “tacos” or a business name.

Location Coordinates

The location coordinates to search for if the location text is missing. This must be in the format latitude,longitude

Location Text

Location in plain text if latitude and longitude not provided.

Intent Example: checkin

The type of search to perform, with checkin the default (finds popular venues people check in to). You can also use:

  • global Ignores the location parameters and only looks at the text query
  • browse Searches an entire region to find what you’re looking for, less focused on finding popular spots
  • match Use if trying to match a venue from another database by location and name
Query

Query to search for, e.g. “tacos” or a business name.

Category IDs

Enter a comma separated list of category IDs from Foursquare’s Category ID List

Extractors

  • Foursquare Venues .response.venues
⚙️  Foursquare Venue Search -> Venue Details (2/2)

Foursquare Venue Search -> Venue Details (1/2) (External Trigger) Extractor: Foursquare Venues response.venues.id ➡️ Venue ID

Venue ID from the search response.

Extractors

  • Foursquare Venue Details .
Posted by steve on April 6, 2020, 9:18 p.m. 🚩  Report