GetSwift is a technology & services co. helping businesses build, manage & optimize their delivery & business systems
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Emit new event when a new team is joined by the authenticated user
Create a new channel in Microsoft Teams. See the docs here
Get the list of shift instances for a team. See the documentation
Send a message to a team's channel. See the docs here
The Getswift API provides programmatic access to the Getswift delivery platform, enabling you to manage and track deliveries, drivers, and orders. Integrating this API with Pipedream allows you to create automated workflows that can optimize delivery operations, sync data with other business tools, and respond to events in real-time. With Pipedream, you can trigger actions based on Getswift events, process delivery data, and connect to countless other services to extend the capabilities of your logistics operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getswift: {
type: "app",
app: "getswift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.getswift.co/api/public/v2/drivers`,
params: {
ApiKey: `${this.getswift.$auth.api_key}`,
},
})
},
})
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})