with Microsoft SQL Server and Holded?
Emit new event when an existing contact is created in Holded. See the docs
Emit new event when invoice is generated in Holded. See the docs
Triggers when a new column is added to a table. See the documentation
Triggers when a new row is added or an existing row is updated. See the documentation
Executes a SQL query and returns the results. See the documentation
Deliver an email with a document to a contact through Holded. See the docs
With the Microsoft SQL Server API on Pipedream, you can automate your database operations and create powerful integrations. This API allows you to execute queries, manage databases, and trigger actions based on data changes. Implementing workflows that react to database events, manipulate data, or synchronize SQL Server data with other services, becomes effortless with Pipedream's serverless platform.
import sql from "mssql"
export default defineComponent({
props: {
microsoft_sql_server: {
type: "app",
app: "microsoft_sql_server",
}
},
async run({steps, $}) {
const { host, username, password, port, database, encrypt,trustServerCertificate } = this.microsoft_sql_server.$auth
const conn_str = `Server=${host},${port};Database=${database};User Id=${username};Password=${password};Encrypt=${encrypt};TrustServerCertificate=${trustServerCertificate}`;
await sql.connect(conn_str);
return await sql.query`SELECT GETDATE()`
},
})
The Holded API offers access to a versatile platform that combines accounting, invoicing, inventory, and project management. It's designed to streamline various business processes. With Pipedream, you can connect Holded to hundreds of other apps to automate workflows. This means you can sync invoices with your CRM, get real-time alerts for new sales, or even automate inventory updates. The API's endpoints allow you to manage contacts, products, accounting, and more, enabling your business to stay organized and efficient.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
holded: {
type: "app",
app: "holded",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.holded.com/api/invoicing/v1/contacts`,
headers: {
"Accept": `application/json`,
"key": `${this.holded.$auth.api_key}`,
},
})
},
})