Smaily

We’ll give you the easiest of tools to send beautiful newsletters. Start your email marketing journey to success!

Integrate the Smaily API with the Python API

Setup the Smaily API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Smaily and Python remarkably fast. Free for developers.

Run Automation Workflow with the Smaily API

Send Automation Workflow. See docs here

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Update Subscriber with the Smaily API

Updates a subscriber. See docs here

 
Try it

Overview of Smaily

The Smaily API allows for email marketing automation, where you can manage contacts, templates, and send out campaigns. With Pipedream's power to integrate a multitude of apps, you can craft custom workflows that react to events from various services, and then use Smaily to send targeted communications, all in a serverless environment. This seamless integration can be a game-changer for marketers seeking to enhance their audience engagement through personalized and timely emails based on user behavior or data.

Connect Smaily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    smaily: {
      type: "app",
      app: "smaily",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.smaily.$auth.subdomain}.sendsmaily.net/api/organizations/users.php`,
      auth: {
        username: `${this.smaily.$auth.username}`,
        password: `${this.smaily.$auth.password}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}