The SendPulse API taps into the power of multi-channel marketing automation, enabling you to manage mailing lists, send emails, and analyze campaign performance. By leveraging Pipedream, you can stitch SendPulse into a network of apps to create automated workflows. Imagine syncing new sign-ups from your CRM to SendPulse, triggering personalized email sequences based on customer behavior, or pulling campaign stats into your analytics dashboard - All in real-time and without writing a single line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendpulse: {
type: "app",
app: "sendpulse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendpulse.com/senders`,
headers: {
Authorization: `Bearer ${this.sendpulse.$auth.oauth_access_token}`,
},
})
},
})
Automated Subscriber Onboarding: As soon as a user signs up on your platform, trigger a workflow that adds them to a specific mailing list in SendPulse. Then, automatically send a personalized welcome email series to guide them through your product's features.
Behavior-Driven Email Campaigns: Connect SendPulse with your e-commerce platform. When a customer abandons their cart, initiate an automated email via SendPulse that reminds them of their incomplete purchase and offers a discount to incentivize completion.
Lead Qualification and Nurturing: Integrate SendPulse with a form submission tool like Typeform. Upon receiving a new form entry, add the contact to SendPulse and use lead scoring to segment the contact into the appropriate email campaign for nurturing.
Make a GET request to https://api.sendpulse.com/emails/{email}
Make a POST request to https://api.sendpulse.com/addressbooks/{id}/emails/unsubscribe
SendPulse uses OAuth authentication. When you connect your SendPulse account, Pipedream will open a popup window where you can sign into SendPulse and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any SendPulse API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://api.sendpulse.com/oauth/access_token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.ID}}
&
client_secret={{custom_fields.Secret}}
&
grant_type=client_credentials
POST
https://api.sendpulse.com/oauth/access_token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.ID}}
&
client_secret={{custom_fields.Secret}}
&
grant_type=client_credentials