# Email yourself on new RSS items

Next, let's create a workflow triggered on app events. This example builds on concepts introduced in previous sections and will cover how to:

TIP

If you didn't complete the previous examples, we recommend you start from the beginning of this guide to learn the basics of workflow development. If you have any issues completing this example, you can view, copy and run a completed version.

# Trigger a workflow on new items in an RSS feed

First, create a new workflow and search for the RSS app and select it:

image-20210525193527287

Then select the New item in feed trigger:

image-20210525193554431

For this example, let's use the feed of BBC's top stories. Add http://feeds.bbci.co.uk/news/rss.xml as the Feed URL. You can optionally customize the Timer (it controls how often to check for new items in the feed) and the Name.

image-20210525193800859

Next, click Create Source. Pipedream will instantiate the source and retrieve recent items from the RSS feed. You can use these events to help you build your workflow (you can expand the drop down menu to select a different event).

image-20210525193936495

Next, click Send Test Event to export the event for the trigger.

image-20210525194015182

# Send an email to the address associated with your Pipedream account

Next, select the Send Yourself an Email action from the step selection menu.

image-20210525194049672

To configure the action:

  • Set Subject to New Item in Feed: {{steps.trigger.event.title}}
  • Set Text to {{steps.trigger.event.description}} - {{steps.trigger.event.link}}

image-20210525194252727

Finally, click Deploy and click Send Test Event in the trigger again to run the workflow.

image-20210525194340766

Pipedream will send an email to the address asociatd with your Pipedream account:

image-20210525194431592

# Activate the trigger to run your workflow on new app events

Finally, to automatically run the workflow whenever a new item is detected in the RSS feed, enable the trigger.

image-20210525194508356

For the final example of this guide, we'll address a real-world use case to post richly-formatted Tweets to Slack. Take me to the last example →