with Jumpseller and Neon Postgres?
Emit new event when an order is paid in Jumpseller. See the documentation
Emit new event when an order is updaetd in Jumpseller. See the documentation
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
Create a new product variant in Jumpseller. See the documentation
Finds a row in a table via a lookup column. See the documentation
The Jumpseller API lets you automate and integrate your e-commerce operations, ranging from managing products, orders, and customers to updating inventory levels. With Pipedream, you can harness this functionality in serverless workflows, enabling you to connect Jumpseller with other apps and services. Craft workflows to simplify tasks such as syncing order info to accounting software, triggering custom alerts for new sales, or maintaining a real-time customer database.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jumpseller: {
type: "app",
app: "jumpseller",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jumpseller.com/v1/store/info.json`,
headers: {
Authorization: `Bearer ${this.jumpseller.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
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
},
})