Skip to the content Skip to the Navigation

Workflow Excellence

  • Workflow Excellence
  • Blog
  • Contact
Blog
  1. HOME
  2. Blog
  3. Nintex Workflow
  4. Nintex Workflow – RSS Parsing
December 30, 2020 / Last updated : December 30, 2020 Vadim Tabakman Nintex Workflow

Nintex Workflow – RSS Parsing

RSS or Rich Site Summary has been around for many years now.  It’s still used now as a way to summarize and distribute new updates to sites, and present news.

Since RSS is a simple XML format, parsing that data isn’t really that hard.  It can be easily done with Nintex Workflow.

As you can see from the workflow design below, it’s quite easy to put together.

Workflow Design

What actions are used?

The first action in this workflow is a Build String because I simply pasted my RSS feed into it and stored it in a text variable.  Ideally, you would look at using the Web Request action, configured to do a GET and store the RSS feed in the variable that way.  Then you can schedule this type of workflow to parse out the information you need.

Query XML – initially used to get the count of the number of RSS items in the feed.  Also used to get the RSS item titles, descriptions and urls.  Good information to use if you’re putting together a report.

For Each – iterate through each value in the Title collection to parse through each item.

Collection Operation – used to extract the corresponding Description and Url that match the title we have.

Action Set – used to group the Collection Operation actions so we can hide this from the rest of the workflow design, to make the design more visually appealing.

Log in the History List – used as more of a debugging action.  We log each Title, Description and Url to the workflow history.  This would be replaced with real business logic.

The Magic

The Query XML actions are really the heart of this workflow, since RSS is basically XML.

We use this action in 2 different ways.  The first time we use, we are simply getting the count of the number of RSS items in the feed.  This is achieved with XSLT.

Query XML - XSLT

This is more of a housekeeping thing.  I like to eventually add some validation that we have some items in the RSS feed before we try to parse them.

Our next Query XML action is pulling out each RSS Item Title and storing it in a Collection variable.  It is doing the same for the Description and the URL.

Query XML - XPath

To do that, we use XPath for each of the fields we want to pull out.

Finally, we go through each value using the For Each action :

For Each

You can see how I’m pointing to the Index as each time through the For Each, I’m storing it in a number variable.  This allows me to use it in the Collection Operation actions later in the workflow to get the corresponding values from the other colleciton variables.

Collection Operation

We have a couple of the Collection Operation actions and that gives you an idea of how we use the “index” that we stored from the For Each action.

That’s all there is to this workflow.  Below, you can download it.  It is a Nintex Workflow 2013 workflow.

Downloads

Nintex Workflow 2013 – v3.0.3.0

RSS Parsing Workflow – Download and import it into the Workflow Designer Page

Categories
Nintex Workflow
Tags
Build StringCollection OperationLog in the History ListNintexNintex WorkflowQuery XMLRSSXPathXSLT

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Nintex Forms

Previous article

Nintex Forms – Simple Branding
December 30, 2020
Nintex Forms

Next article

Nintex Forms – Simple Electronic Signature
December 30, 2020

Recent posts

Nintex Workflow Cloud and XML Complex Nodes

December 10, 2021

Nintex Workflow Cloud and XML as Temp Storage

December 9, 2021

Nintex Workflow Cloud – PadRight

April 13, 2021

Automating a Shadowing Program

January 14, 2021

Nintex acquires K2

December 31, 2020

Nintex Workflow Cloud – Archiving Documents

December 31, 2020

Goodbye SharePoint 2010 Workflows Online

December 31, 2020

Nintex Workflow Cloud – Math Power Component Workflow

December 31, 2020

Nintex Workflow Cloud – Looping

December 31, 2020

Nintex RPA – Processing Filtered Excel Data

December 31, 2020

Category

  • Drawloop
  • Nintex Forms
  • Nintex Reporting
  • Nintex RPA
  • Nintex Workflow
  • Nintex Workflow Cloud
  • Nintex Workflow for Office 265
  • PowerShell
  • Promapp
  • Tools
  • Training

Archive

  • December 2021
  • April 2021
  • January 2021
  • December 2020

Interesting Sites

Nintex
Simplifying Processes
Jesse McHargue
Around SharePoint
Haley Walsh
Kok Koon
Nicole Vesser

Copyright © Workflow Excellence All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Workflow Excellence
  • Blog
  • Contact