A revolutionary bot builder platform to add multi-channel messaging to your system.
Go to siteThe 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}`,
},
})
},
})
Automate Customer Support Follow-Ups: Trigger a workflow in Pipedream when a SnatchBot conversation ends, then use the SendGrid app to email a follow-up survey to the user. This gathers feedback and improves your chatbot service.
Sync Chat Sessions to CRM: After a conversation in SnatchBot, automatically create or update a contact record in a CRM like Salesforce or HubSpot. This keeps your customer profiles updated with the latest interaction details.
Broadcast Messages from Slack: Use Pipedream to listen for commands in a Slack channel, then call the SnatchBot API to broadcast messages to users from within Slack. This is handy for timely announcements or alerts.
Emit new event when a new bot message is sent. See the documentation
Post a new message and receive a response from your bot. See the documentation
SnatchBot uses API keys for authentication. When you connect your SnatchBot account, Pipedream securely stores the keys so you can easily authenticate to SnatchBot APIs in both code and no-code steps.
To retrieve your App ID and Secret,
In the steps above when you click one of your bots, your Bot ID is 1234
if your Bot URL is https://account.snatchbot.me/edit/1234