Unsplash

Beautiful Free Images & Pictures

Integrate the Unsplash API with the Email API

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

New Email from the Email API

Get a unique address where you can send emails to trigger your workflow.

 
Try it
Send Yourself an Email with the Email API

Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.

 
Try it

Overview of Unsplash

The Unsplash API provides programmatic access to a vast library of high-quality, royalty-free images. This enables developers to search for and retrieve photos based on keywords, collections, or featured content. With Pipedream's integration, you can automate tasks like updating social media banners, populating website content with dynamic images, or even analyzing photo metadata for insights. By leveraging Unsplash's API within Pipedream, you can create workflows that trigger on various events, process image data, and interact with countless other apps available on the platform, streamlining your digital asset management and content creation processes.

Connect Unsplash

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: {
    unsplash: {
      type: "app",
      app: "unsplash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.unsplash.com/me`,
      headers: {
        Authorization: `Bearer ${this.unsplash.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Email

1
2
3
4
5
6
7
8
9
export default defineComponent({
  async run({ $ }) {
    const options = {
      subject: 'Your subject here',
      text: 'Your text here'
    };
    $.send.email(options);
  },
});