with Sender and Ramp?
Creates a new virtual card for a given user. See the documentation
Uploads a receipt for a given transaction and user. See the documentation
The Sender API, available on Pipedream, offers powerful capabilities to automate communication and marketing workflows. By leveraging this API, you can streamline how you manage emails, newsletters, and subscriber lists directly from your app environment. This can include sending personalized email campaigns, managing contacts, analyzing campaign performance, and even triggering transactional emails based on user actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sender: {
type: "app",
app: "sender",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sender.net/v2/subscribers`,
headers: {
Authorization: `Bearer ${this.sender.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
The Ramp API provides programmatic access to financial and accounting functionalities, allowing for the management of company cards, transactions, and reporting. By leveraging the Ramp API within Pipedream, you can automate intricate finance operations, synchronize transaction data with accounting software, trigger notifications based on spending activities, and analyze financial data in real-time, integrating with other services for enhanced financial workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ramp: {
type: "app",
app: "ramp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ramp.com/developer/v1/business`,
headers: {
Authorization: `Bearer ${this.ramp.$auth.oauth_access_token}`,
},
})
},
})