with Tumblr and Neon Postgres?
Emit new event when a new column is added to a table. See the documentation
Emit new event when a row is added or modified. See the documentation
Emit new event when a new row is added to a table. See the documentation
Emit new event when new rows are returned from a custom query that you provide. See the documentation
Emit new event when a new table is added to the database. See the documentation
Finds a row in a table via a lookup column. See the documentation
Finds a row in a table via a custom query. See the documentation
The Tumblr API on Pipedream allows you to automate interactions with your Tumblr account, like posting content, managing posts, and interacting with followers. By leveraging this API, you can craft workflows that streamline your social media strategies, analyze engagement, and connect your Tumblr activities with other tools and platforms. Whether you're looking to auto-post content across different networks, analyze post metrics, or curate content based on specific criteria, the Tumblr API paired with Pipedream’s serverless execution model paves the way for powerful automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tumblr: {
type: "app",
app: "tumblr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tumblr.com/v2/blog/good.tumblr.com/info`,
params: {
api_key: `${this.tumblr.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform";
import { neon } from "@neondatabase/serverless";
export default defineComponent({
props: {
neon_postgres: {
type: "app",
app: "neon_postgres",
}
},
async run({ steps, $ }) {
const { host, port, user, password, database } = this.neon_postgres.$auth
const connectionString = `postgresql://${user}:${password}@${host}:${port}/${database}`
const sql = neon(connectionString)
const result = await sql`SELECT version()`
const { version } = result[0]
return version
},
})