with ifthenpay and ManyChat?
Emit new event when a payment is successfully completed through Ifthenpay. See the documentation
Emit new event when a selected custom field on a user profile is added or updated. See the documentation
Generates a Multibanco or MB WAY payment reference with a specified amount, entity code, and deadline. See the documentation
Adds a specific tag to a user specified by their user ID. This action is essential to categorize and filter users based on business-specific parameters. See the documentation
Issue a full or partial refund for a previously completed payment via Ifthenpay. See the documentation
Locates a user based on a particular custom field's value. See the documentation
Delivers a dynamic message to a particular user specified by their user ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifthenpay: {
type: "app",
app: "ifthenpay",
}
},
async run({steps, $}) {
const data = {
"boKey": `${this.ifthenpay.$auth.backoffice_key}`,
"dateStart": `21-10-2024 00:00:00`,
"dateEnd": `30-04-2025 00:00:00`,
}
return await axios($, {
method: "post",
url: `https://api.ifthenpay.com/v2/payments/read`,
headers: {
"accept": `application/json`,
},
data,
})
},
})
The ManyChat API lets you manage and automate conversations in your chatbot, giving you control over user data, tags, and messaging. Integrating ManyChat with Pipedream can supercharge your chatbot workflows, enabling you to connect your ManyChat bot to various apps and services, automate interactions based on triggers, and analyze chatbot data to improve user engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
manychat: {
type: "app",
app: "manychat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.manychat.com/fb/page/getInfo`,
headers: {
Authorization: `Bearer ${this.manychat.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})