with Typeform and iContact?
Creates and dispatches a new message using custom HTML. See the documentation
Creates a new contact within the iContact account. See the documentation
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})
The iContact API provides a programmable way to manage email marketing campaigns, contacts, lists, and messages within iContact's service. Through this API, you can automate the creation and sending of emails, manage subscribers, and track the performance of your campaigns. When used on Pipedream, the iContact API allows you to create serverless workflows that integrate with other apps and services, trigger actions based on various conditions, and automate repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
icontact: {
type: "app",
app: "icontact",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.icontact.com/icp/a/${this.icontact.$auth.account_id}/c/${this.icontact.$auth.client_folder_id}`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"api-version": `2.2`,
"api-appid": `${this.icontact.$auth.api_app_id}`,
"api-username": `${this.icontact.$auth.api_username}`,
"api-password": `${this.icontact.$auth.api_password}`,
},
})
},
})