MySQL is an open-source relational database management system.
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});
The Nutshell API allows you to access and manage data within the Nutshell CRM platform, enabling you to automate tasks, sync information across apps, and build custom integrations. With Pipedream, these capabilities are harnessed through serverless workflows that can trigger actions within Nutshell or react to events, all with minimal setup. You can create leads, update contacts, manage sales processes, and more, all in a scalable and efficient manner.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutshell: {
type: "app",
app: "nutshell",
}
},
async run({steps, $}) {
const data = {
"id": "apeye",
"method": "getUser",
}
return await axios($, {
url: `https://${this.nutshell.$auth.api}/api/v1/json`,
auth: {
username: `${this.nutshell.$auth.email}`,
password: `${this.nutshell.$auth.password}`,
},
data,
})
},
})