with Softr and Stripe?
Removes an existing user from your Softr app. Be aware, this action is irreversible. See the documentation
Generate a Magic Link for the specified user in your Softr app. See the documentation
Cancel a pending payout or reverse a paid payout. See the documentation here and here
The Softr API unlocks the power to automate and integrate Softr-built web apps with a multitude of external services and internal workflows. With it, you can streamline data manipulation, sync content, or trigger actions based on specific events. Create, update, and fetch data from your Softr applications, and leverage this functionality to enhance user experience, improve operational efficiency, and reduce manual workloads. When used on Pipedream, the API can connect with other apps to create robust, serverless workflows that operate in real-time or on a scheduled basis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
softr: {
type: "app",
app: "softr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://studio-api.softr.io/v1/api/users`,
headers: {
"Softr-Api-Key": `${this.softr.$auth.api_key}`,
"Softr-Domain": `${this.softr.$auth.domain}`,
"Content-Type": `application/json`,
},
})
},
})
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})