Build apps that scale with managed and intelligent SQL database in the cloud.
Executes a SQL query and returns the results. See the documentation
Inserts a new row in a table. See the documentation
Gets number of form submissions received this month. Also, get number of SSL form submissions, payment form submissions and upload space used by user See the docs here
The Microsoft Azure SQL Database API allows you to manage and interact with your SQL databases hosted on Azure directly from Pipedream. It provides a serverless way to run SQL queries, manage tables, and handle database management tasks. You can create, read, update, and delete database records, execute stored procedures, and perform a variety of other SQL operations. Leveraging this API on Pipedream enables you to automate workflows, respond to database events in real-time, and integrate with countless other apps and services.
import azure_sql from '@pipedream/azure_sql';
export default defineComponent({
props: {
azure_sql,
},
async run({ steps, $ }) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/azure_sql
const queryObj = {
query: "SELECT GETDATE()",
values: [],
};
return await this.azure_sql.executeQuery(queryObj);
},
});
Jotform’s API is a powerhouse for automating form and survey data management. With Pipedream, harness this API to trigger workflows from new form submissions, manipulate and analyze your form data, and sync it across various platforms. Think streamlined data entry to CRMs, instant notifications for new leads or feedback, and timely data backups to cloud storage.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jotform: {
type: "app",
app: "jotform",
}
},
methods: {
_getBaseUrl() {
let baseUrl = `https://${this.jotform.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.jotform.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})