The Drip API allows for powerful email marketing automation, providing tools to craft every interaction with your leads, trial users, and customers. With the Drip API on Pipedream, you can manage subscribers, send emails, track user actions, and more. This integration opens up possibilities for syncing subscriber data, triggering communication based on user behavior, and connecting your email marketing to a wider ecosystem of tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drip: {
type: "app",
app: "drip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getdrip.com/v2/user`,
headers: {
Authorization: `Bearer ${this.drip.$auth.oauth_access_token}`,
},
})
},
})
Subscriber Segmentation and Tagging Automation: Automatically tag subscribers in Drip based on their behavior or demographic data from your CRM platform. Use a workflow that listens to CRM updates, enriches the data if needed, and uses Drip API to segment audiences for personalized marketing campaigns.
Customer Journey Email Triggers: Set up an automation that triggers a series of targeted emails when a user performs a specific action on your website or app. For instance, when a user signs up, make an API call to Drip to enroll them in an onboarding email sequence.
E-commerce Cart Abandonment Workflow: Recover potentially lost sales by automating an email sequence for users who have abandoned their shopping carts. Connect your e-commerce platform to Drip through Pipedream. When a cart is abandoned, the workflow can trigger a reminder email or a special offer to encourage completion of the purchase.
Creates a new subscriber. If the email already exists, it will update the existing subscriber. See the docs here
If the workflow is not active, the subscriber will not be added to the workflow. See the docs here
Drip uses OAuth authentication. When you connect your Drip account, Pipedream will open a popup window where you can sign into Drip and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Drip API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://www.getdrip.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://www.getdrip.com/oauth/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}}