We deliver for small businesses and nonprofits with the right tools to simplify and amplify your digital marketing and generate powerful results.
Go to siteThe Constant Contact API allows users to automate email marketing efforts by managing contacts, sending emails, and tracking results. With Pipedream, you can connect Constant Contact to other apps to create powerful workflows. You can trigger events, sync contact lists, automate email campaigns, and analyze email performance with ease. Pipedream's serverless platform offers a streamlined approach to integrating Constant Contact's functionalities into diverse, automated sequences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
constant_contact: {
type: "app",
app: "constant_contact",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cc.email/v3/account/summary`,
headers: {
Authorization: `Bearer ${this.constant_contact.$auth.oauth_access_token}`,
},
})
},
})
Sync New Shopify Customers to Constant Contact: When a new customer is added in Shopify, automatically add them to a specified contact list in Constant Contact. This keeps your email list updated with minimal effort.
Automate Email Campaigns Based on Survey Responses: Link Constant Contact with a survey app like Typeform. Trigger an email sequence in Constant Contact for users who score a certain threshold on a feedback survey, allowing for targeted follow-ups.
Track Email Campaign Performance in Google Sheets: After sending an email campaign through Constant Contact, use Pipedream to capture the campaign's performance data and log it to a Google Sheet for easy tracking and analysis.
Delete a specific contact identified by contact_id. See the documentation
Constant Contact uses OAuth authentication. When you connect your Constant Contact account, Pipedream will open a popup window where you can sign into Constant Contact and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Constant Contact API.
Pipedream requests the following authorization scopes when you connect your account:
account_read
account_update
contact_data
campaign_data
offline_access
GET
https://authz.constantcontact.com/oauth2/default/v1/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://authz.constantcontact.com/oauth2/default/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://authz.constantcontact.com/oauth2/default/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}