Sendfox is an email marketing platform designed for content creators. With the Sendfox (OAuth) API on Pipedream, you can automate your marketing efforts by creating workflows that trigger based on specific events or conditions. This includes sending customized emails, managing contacts, and analyzing campaign performance, all programmatically. By leveraging Pipedream's capabilities, you can connect Sendfox to a myriad of other services to streamline processes, such as collecting new subscribers from various sources, syncing contact lists, or triggering campaigns from external events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendfox_oauth: {
type: "app",
app: "sendfox_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendfox.com/me`,
headers: {
Authorization: `Bearer ${this.sendfox_oauth.$auth.oauth_access_token}`,
},
})
},
})
Automated Welcome Email Sequence: Trigger a personalized welcome email sequence in Sendfox whenever a new user subscribes through a Google Form. Use Pipedream to listen for new form submissions, extract the user's information, and add them to a specific Sendfox list that kicks off the welcome email sequence.
Content-Based Email Campaigns: Create an automation that sends out an email campaign from Sendfox whenever a new blog post is published on your WordPress site. Use Pipedream to watch for new posts on WordPress, then draft and send an email to your subscribers with the post content, ensuring they never miss an update.
E-commerce Customer Follow-Up: After a customer makes a purchase on Shopify, set up a Pipedream workflow that adds them to a Sendfox list and triggers a follow-up email sequence for feedback or cross-selling related products. This workflow can help boost customer engagement and drive repeat business.
Sendfox (OAuth) uses OAuth authentication. When you connect your Sendfox (OAuth) account, Pipedream will open a popup window where you can sign into Sendfox (OAuth) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Sendfox (OAuth) API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://sendfox.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://sendfox.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}}