with Nile Database and Textline?
Create a new database user by providing an email address and password. See the documentation
Create or update a contact in the Textline address book. See the documentation
Send an announcement to a group of contacts. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nile_database: {
type: "app",
app: "nile_database",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://global.thenile.dev/developers/me/full`,
headers: {
Authorization: `Bearer ${this.nile_database.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textline: {
type: "app",
app: "textline",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://application.textline.com/api/users.json`,
headers: {
"x-tgp-access-token": `${this.textline.$auth.access_token}`,
},
})
},
})