Sendfox (OAuth)

Email marketing service

Integrate the Sendfox (OAuth) API with the Bash API

Setup the Sendfox (OAuth) API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Sendfox (OAuth) and Bash remarkably fast. Free for developers.

Add new contact into a specific list with the Sendfox (OAuth) API
 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Sendfox (OAuth)

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.

Connect Sendfox (OAuth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS