← RSS + SendPulse integrations

Retrieve General Information About a Specific Email Address with SendPulse API on Random item from multiple RSS feeds from RSS API

Pipedream makes it easy to connect APIs for SendPulse, RSS and 1000+ other apps remarkably fast.

Trigger workflow on
Random item from multiple RSS feeds from the RSS API
Next, do this
Retrieve General Information About a Specific Email Address with the SendPulse API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a RSS trigger and SendPulse action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Random item from multiple RSS feeds trigger
    1. Connect your RSS account
    2. Configure timer
    3. Configure Feed URLs
  3. Configure the Retrieve General Information About a Specific Email Address action
    1. Connect your SendPulse account
    2. Configure email
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit a random item from multiple RSS feeds
Version:0.2.0
Key:rss-random-item-in-multiple-feeds

RSS Overview

With the RSS API you have the power to create powerful tools and applications.
RSS is a great way to reliably subscribe to, track and build around your
favorite content sources. Here are some examples of things you can create
using the RSS API:

  • A personal news website to syndicate articles from multiple sources.
  • A custom feed reader to deliver timely notifications of updates and news.
  • A live editorial dashboard to track news, trends and public sentiment.
  • An automated “report bot” to aggregate and report on news topics.
  • A competitor tracking tool to stay on top of industry news.
  • A custom RSS-based search engine or RSS-supported deep learning engine.
  • A live events feed to notify users and followers of new developments.

Trigger Code

import rss from "../../app/rss.app.mjs";
import { defineSource } from "@pipedream/types";
import rssCommon from "../common/common.mjs";
export default defineSource({
    ...rssCommon,
    key: "rss-random-item-in-multiple-feeds",
    name: "Random item from multiple RSS feeds",
    type: "source",
    description: "Emit a random item from multiple RSS feeds",
    version: "0.2.0",
    props: {
        ...rssCommon.props,
        urls: {
            propDefinition: [
                rss,
                "urls",
            ],
        },
    },
    dedupe: "unique",
    hooks: {
        async activate() {
            // Try to parse the feed one time to confirm we can fetch and parse.
            // The code will throw any errors to the user.
            for (const url of this.urls) {
                await this.rss.fetchAndParseFeed(url);
            }
        },
    },
    async run() {
        const items = [];
        for (const url of this.urls) {
            const feedItems = await this.rss.fetchAndParseFeed(url);
            items.push(...feedItems);
        }
        const item = items[Math.floor(Math.random() * items.length)];
        const meta = this.generateMeta(item);
        this.$emit(item, meta);
    },
});

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
RSSrssappThis component uses the RSS app.
timer$.interface.timer

How often you want to poll the feed for new items

Feed URLsurlsstring[]

Enter either one or multiple URLs from any public RSS feed

Trigger Authentication

The RSS API does not require authentication.

About RSS

Real Simple Syndication

Action

Description:Make a GET request to https://api.sendpulse.com/emails/{email}
Version:0.1.1
Key:sendpulse-retrieve-info-for-email-address

SendPulse Overview

SendPulse is a powerful platform that lets you send emails, push notifications,
and SMS messages using their API. It offers advanced features such as email
segmentation, autoresponders, advanced analytics, and more. With the SendPulse
API, you can build amazing automated marketing solutions that can help you
increase conversions, reach more users, and boost your customer engagement.

Send pulse API can be used to build:

  • Automated lead nurturing campaigns
  • Automated welcome emails
  • Automated re-engagement campaigns
  • SMS campaigns
  • Push notifications
  • Trigger-based emails
  • Personalized customer journeys
  • Multi-level segmentation
  • Custom user onboarding
  • Automated customer feedback
  • And much more!

Action Code

// legacy_hash_id: a_bKiP6J
import { axios } from "@pipedream/platform";

export default {
  key: "sendpulse-retrieve-info-for-email-address",
  name: "Retrieve General Information About a Specific Email Address",
  description: "Make a GET request to https://api.sendpulse.com/emails/{email}",
  version: "0.1.1",
  type: "action",
  props: {
    sendpulse: {
      type: "app",
      app: "sendpulse",
    },
    email: {
      type: "string",
      description: "Email address",
    },
  },
  async run({ $ }) {
    return await axios($, {
      url: `https://api.sendpulse.com/emails/${this.email}`,
      headers: {
        Authorization: `Bearer ${this.sendpulse.$auth.oauth_access_token}`,
      },
    });
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
SendPulsesendpulseappThis component uses the SendPulse app.
emailemailstring

Email address

Action Authentication

SendPulse uses OAuth authentication. When you connect your SendPulse account, Pipedream will open a popup window where you can sign into SendPulse and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any SendPulse API.

Pipedream requests the following authorization scopes when you connect your account:

About SendPulse

Multi-Channel Marketing Platform

More Ways to Connect SendPulse + RSS

Retrieve General Information About a Specific Email Address with SendPulse API on New Item in Feed from RSS API
RSS + SendPulse
 
Try it
Unsubscribe a Contact From a Defined Mailing List with SendPulse API on New Item in Feed from RSS API
RSS + SendPulse
 
Try it
Retrieve General Information About a Specific Email Address with SendPulse API on New item from multiple RSS feeds from RSS API
RSS + SendPulse
 
Try it
Unsubscribe a Contact From a Defined Mailing List with SendPulse API on New item from multiple RSS feeds from RSS API
RSS + SendPulse
 
Try it
Unsubscribe a Contact From a Defined Mailing List with SendPulse API on Random item from multiple RSS feeds from RSS API
RSS + SendPulse
 
Try it
New Item in Feed from the RSS API

Emit new items from an RSS feed

 
Try it
New Item From Multiple RSS Feeds from the RSS API

Emit new items from multiple RSS feeds

 
Try it
Random item from multiple RSS feeds from the RSS API

Emit a random item from multiple RSS feeds

 
Try it
Merge RSS Feeds with the RSS API

Retrieve multiple RSS feeds and return a merged array of items sorted by date See docs

 
Try it
Retrieve General Information About a Specific Email Address with the SendPulse API
 
Try it
Unsubscribe a Contact From a Defined Mailing List with the SendPulse API
 
Try it