PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Finds a row in a table via a custom query. See the documentation
On Pipedream, you can leverage the PostgreSQL app to create workflows that automate database operations, synchronize data across platforms, and react to database events in real-time. Think handling new row entries, updating records from webhooks, or even compiling reports on a set schedule. Pipedream's serverless platform provides a powerful way to connect PostgreSQL with a variety of apps, enabling you to create tailored automation that fits your specific needs.
import postgresql from "@pipedream/postgresql"
export default defineComponent({
props: {
postgresql,
},
async run({ steps, $ }) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/postgresql
const queryObj = {
text: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.postgresql.executeQuery(queryObj);
},
})
The Curated API enables you to automate the management of your newsletters. With it, you can create issues, manage subscribers, and curate content, all programmatically. This allows for rich integrations with other tools and systems, offering opportunities to streamline your newsletter operations. Using Pipedream, you can harness this functionality to set up custom workflows, trigger actions based on various events, and connect Curated with a plethora of other services to enhance your newsletter productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
curated: {
type: "app",
app: "curated",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.curated.co/api/v3/publications`,
headers: {
"Authorization": `Token token=${this.curated.$auth.api_key}`,
},
})
},
})