with SMSTools and iContact?
Adds a new contact to an existing contact list. See the documentation
Adds a selected contact to the opt-out list, stopping further communications. See the documentation
Creates and dispatches a new message using custom HTML. See the documentation
Creates a new contact within the iContact account. See the documentation
Sends a SMS or WhatsApp message to a specified contact. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smstools: {
type: "app",
app: "smstools",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smsgatewayapi.com/v1/account`,
params: {
client_id: `${this.smstools.$auth.client_id}`,
client_secret: `${this.smstools.$auth.client_secret}`,
},
})
},
})
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}`,
},
})
},
})