Orimon helps you close deals 24*7 with ChatGPT like Sales Chatbots.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
orimon: {
type: "app",
app: "orimon",
}
},
async run({steps, $}) {
const data = {
"type": "message",
"info": {
"psid": "541013_3eea0304-5e9d-437e-82a3-9e77af6f15ea",
"sender": "user",
"tenantId": "${this.orimon.$auth.tenant_id}",
"platformName": "web"
},
"message": {
"id": "${this.orimon.$auth.tenant_id}",
"type": "text",
"payload" : {
"text": "What is Pipedream?"
}
}
}
return await axios($, {
method: "post",
url: `https://channel-connector.orimon.ai/orimon/v1/conversation/api/message`,
headers: {
"Authorization": `apiKey ${this.orimon.$auth.api_key}`,
},
data,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.