with Easy Project and SnatchBot?
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
The Easy Project API offers a suite of project management tools that integrate with Pipedream to automate workflows, streamline processes, and enhance team collaboration. By connecting the Easy Project API to Pipedream, you can create custom automations for tasks like syncing project data, monitoring project updates, and managing resources. The API allows for interactions with issues, time entries, and project structures, making it a versatile tool for project managers and teams who want to align their project management tooling with other business systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_project: {
type: "app",
app: "easy_project",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.easy_project.$auth.domain}.easyproject.com/users.json`,
headers: {
"X-Redmine-API-Key": `${this.easy_project.$auth.api_access_key}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})