Amazon SES

Simple Email Service

Integrate the Amazon SES API with the Node API

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

Create Email Template with the Amazon SES API

Create a HTML or a plain text email template. See the docs

 
Try it
Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it
Get Email Template with the Amazon SES API

Get an email template. See the docs

 
Try it
Send Email with the Amazon SES API

Send an email using Amazon SES. Supports simple email messaging. See the docs

 
Try it
Send Templated Email with the Amazon SES API

Send an email replacing the template tags with values using Amazon SES. See the docs

 
Try it

Overview of Amazon SES

With Amazon SES, you can easily send email from your applications. Amazon SES
eliminates the complexity and headaches of managing outgoing email
infrastructure by providing a scalable, pay-as-you-go email sending service.
Amazon SES makes it easy to get started sending email from your applications,
with no upfront costs or long-term commitments.

Here are some examples of what you can build with the Amazon SES API:

  • A system that automatically sends emails to customers when their orders are
    ready
  • A system that notifies customers when their bills are due
  • A system that sends out weekly newsletters to subscribers
  • A system that sends out targeted marketing emails to potential customers

Connect Amazon SES

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = defineComponent({
  props: {
    amazon_ses: {
      type: "app",
      app: "amazon_ses",
    }
  },
  async run({steps, $}) {
    const AWS = require("aws-sdk")
    const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
    
    const ses = new AWS.SES({
      accessKeyId, 
      secretAccessKey,
      region: 'us-east-1',
    })
    
    const sesParams = {
      Destination: {
        ToAddresses: ["<your email here>"],
      }, 
      Message: {
        Body: {
          Html: {
            Charset: "UTF-8", 
            Data: "<h1>This is a test</h1>",
          }, 
            Text: {
            Charset: "UTF-8", 
            Data: "This is a test",
          }
        }, 
        Subject: {
          Charset: "UTF-8", 
          Data: "Test email",
        }
      },
      Source: "<your from address here", 
    };
    
    this.resp = await ses.sendEmail(sesParams).promise()
  },
})

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.