Independent location data platform
Allows the user to generate a new check-in at a specific location on Foursquare. See the documentation
Allows the user to create a new tip for a venue on Foursquare. See the documentation
Send a message to a public or private channel. See the documentation
Configure custom blocks and send to a channel, group, or user. See the documentation.
Send a message as a threaded reply. See postMessage or scheduleMessage docs here
The Foursquare API empowers developers to tap into rich data about venues, user check-ins, and location-based experiences. On Pipedream, you can harness this API to automate tasks such as fetching venue recommendations based on user preferences, keeping a log of customer visits to your business, or integrating location insights into your CRM. Combining Foursquare data with other services on Pipedream allows you to create powerful, location-aware business solutions without the heavy lifting of manual data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
foursquare: {
type: "app",
app: "foursquare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.foursquare.com/v2/users/self`,
headers: {
Authorization: `Bearer ${this.foursquare.$auth.oauth_access_token}`,
},
params: {
oauth_token: `${this.foursquare.$auth.oauth_access_token}`,
"v": `20191001`,
},
})
},
})
The Pipedream Slack app enables you to build event-driven workflows that interact with the Slack API. Once you authorize the Pipedream app's access to your workspace, you can use Pipedream workflows to perform common Slack actions or write your own code against the Slack API.
The Pipedream Slack app is not a typical app. You don't interact with it directly as a bot, and it doesn't add custom functionality to your workspace out of the box. It makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack: {
type: "app",
app: "slack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
},
})
},
})