with Trengo and Formatting?
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
Emit new event when an phone call missed. See the documentation
Creates a contact. If a contact with given identifier already exists, returns it. See the documentation
List articles from a help center according to the specified criteria. See the documentation
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})