with Rejoiner and Click & Sign?
Emit new event when a contact is added to the specified list. See the documentation
Adds a customer to a specific list, or if the customer already exists, will update the record of that customer with the supplied data. See the documentation
Triggers the beginning of a customer journey in Rejoiner. See the documentation
Updates a customer's profile information. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rejoiner: {
type: "app",
app: "rejoiner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rj2.rejoiner.com/api/v2/${this.rejoiner.$auth.site_id}/ping/`,
headers: {
"Authorization": `Rejoiner ${this.rejoiner.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
click_sign: {
type: "app",
app: "click_sign",
}
},
async run({steps, $}) {
const data = {
"request": `GET_CONFIG_LIST`,
"user": `${this.click_sign.$auth.username}`,
}
return await axios($, {
method: "post",
url: `https://api.lleida.net/cs/v1/get_config_list`,
headers: {
"authorization": `x-api-key ${this.click_sign.$auth.api_key}`,
},
data,
})
},
})