with LINE Messaging and Trengo?
Emit new event for every received message in a channel
Emit new event when an inbound message is received. See the documentation
Emit new event when an internal note is added. See the documentation
Emit new event when an outbound message sent. See the documentation
Emit new event when a phone call ends. See the documentation
Creates a contact. If a contact with given identifier already exists, returns it. See the documentation
Sends a broadcast message to all users. See the documentation
Sends a multicast message to a list of users. See the documentation
List articles from a help center according to the specified criteria. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
line_messaging_api: {
type: "app",
app: "line_messaging_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.line.me/v2/bot/info`,
headers: {
Authorization: `Bearer ${this.line_messaging_api.$auth.long_lived_channel_access_token}`,
},
})
},
})
The Trengo API provides programmatic access to Trengo's multi-channel communication platform, allowing for the streamlining of customer interactions across various channels such as email, SMS, social media, and chat. By leveraging the Trengo API on Pipedream, you can automate customer support workflows, sync communication data with CRM systems, and trigger alerts or actions based on specific customer queries or events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trengo: {
type: "app",
app: "trengo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.trengo.eu/api/v2/users`,
headers: {
Authorization: `Bearer ${this.trengo.$auth.access_token}`,
},
})
},
})