with ManyChat and Database?
Emit new event when a selected custom field on a user profile is added or updated. 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
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
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`,
},
})
},
})
The Database API on Pipedream allows users to execute SQL commands directly within workflows, enabling rich and dynamic data manipulation and storage. It supports PostgreSQL, MySQL, and SQLite, making it a versatile option for managing data across various database systems. With this API, users can perform tasks such as data insertion, querying, updates, and deletions, directly within their automations, facilitating real-time data processing and integration across multiple platforms.
import postgresql from "@pipedream/postgresql";
export default {
props: {
postgresql,
sql: {
type: "sql",
auth: {
app: "postgresql",
},
label: "PostreSQL Query",
},
},
async run({ $ }) {
const args = this.postgresql.executeQueryAdapter(this.sql);
const data = await this.postgresql.executeQuery(args);
return data;
},
};