A revolutionary bot builder platform to add multi-channel messaging to your system.
Emit new event when a new bot message is sent. See the documentation
Emit new event when any of the specified SendGrid events is received
Allows you to add one or more email addresses to the global suppressions group. See the docs here
Post a new message and receive a response from your bot. See the documentation
Allows you to create a new contact list. See the docs here
The SnatchBot API provides a programmatic window to SnatchBot's chatbot platform, allowing you to manage and interact with your bots outside of the SnatchBot interface. With this API, you can execute tasks like sending messages, retrieving chat history, and managing your bot's structure and behavior. When integrated into Pipedream workflows, the SnatchBot API shines in automating interactions, syncing chat data with other systems, and reacting to events with custom logic and third-party services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
snatchbot: {
type: "app",
app: "snatchbot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://account.snatchbot.me/channels/api/api/id${this.snatchbot.$auth.bot_id}/app${this.snatchbot.$auth.app_id}/aps${this.snatchbot.$auth.app_secret}`,
params: {
user_id: `{your_user_id}`,
message_id: `{your_message_id}`,
},
})
},
})
The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendgrid: {
type: "app",
app: "sendgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendgrid.com/v3/user/account`,
headers: {
Authorization: `Bearer ${this.sendgrid.$auth.api_key}`,
},
})
},
})