with Help Scout and Filter?
Emit new event when an agent replies to a conversation.
Emit new event when a conversation is assigned to an agent. See the documentation
Emit new event when a new conversation is created.
Emit new event when a customer replies to a conversation.
Adds a note to an existing conversation in Help Scout. See the documentation
Creates a new customer record in Help Scout. See the documentation
Sends a reply to a conversation. Be careful as this sends an actual email to the customer. See the documentation
The Help Scout API provides programmatic access to customer support functionalities, allowing the automation of ticketing, customer communication, and reporting tasks. With this API, you can read and send messages, manage conversations, work with mailboxes, create and update customers’ information, and generate reports. Utilizing the API on Pipedream, you can automate workflows that respond to events in Help Scout in real-time, integrate customer support data with other business tools, and streamline support operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
help_scout: {
type: "app",
app: "help_scout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpscout.net/v2/users/me`,
headers: {
Authorization: `Bearer ${this.help_scout.$auth.oauth_access_token}`,
},
})
},
})
The Filter API in Pipedream allows for real-time data processing within workflows. It's designed to evaluate data against predefined conditions, enabling workflows to branch or perform specific actions based on those conditions. This API is instrumental in creating efficient, targeted automations that respond dynamically to diverse datasets. Using the Filter API, you can refine streams of data, ensuring that subsequent steps in your Pipedream workflow only execute when the data meets your specified criteria. This cuts down on unnecessary processing and facilitates the creation of more intelligent, context-aware systems.
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})