Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this Article

Table of Contents
maxLevel2
absoluteUrltrue

Drafting and organizing bulk emails

Problem

In a real business case scenario, creating and sending bulk emails and also organizing them respectively for records is a manual as well as tedious operation. This is time-consuming as there are many requirements which are to be dealt by while exchanging and organizing emails. Also, there is always a chance of a human error which could impact customer relations. Automation is the key and here we are with the solution which not only makes the task effortless but also curbs error, maintain records, and have appropriate output to confirm of the task performed.

Solution

Using the Exchange Online Snap Pack, organizations can automate and efficiently manage Microsoft Exchange Online Emails, Events, and Contacts. This Pipeline demonstrates how this can be precisely implemented without any hassles.

Image Modified

Download this solution.  Expandtitle

Understanding the

...

Solution

Here we are looking into a scenario where there are three emails namely, Review Email, Promotion Email, and Confidential Email which are sent by different users from to an individual's mailbox. These emails will eventually reach a junction which in Snaplogic is called a Router Snap, that helps in routing the input to specified endpoints. Now, the emails which are directly delivered to the endpoint three different endpoints through the Snaps, Move Email, Mark Email As Read and Flag Email which have been designated in Snap Settings respectively.

Key Steps

  1. Send emails.
  2. Search emails and categorize to route them to respective Snaps.

Send emails

Here, we send three emails, which are uniquely categorized, to an individual's mailbox. 

We set up a Pipeline using three Send Email Snaps naming them according to their categories, Review Email, Promotion Email, and Confidential Email are the Send Email Snaps which have their settings configured respectively.Email. We configure the Script Snap to pause the incoming document for ten seconds.

The following portion of the Pipeline will process the emails:

Image Added

We configure the Snap Settings for all the three Snaps and also preview the output as to confirming about the emails being sent.

Review EmailOutput

Image Added

Image Added


Promotional EmailOutput

Image Added

Image Added


Confidential EmailOutput

Image Added

Image Added

Now, we configure the Script Snap to control the flow of emails delivered from the above three Snaps.

Search emails and categorize to route them to respective Snaps

Here, we search emails with parameters and route them to three Snaps. Categorizing the retrieved emails is performed using Router Snap which documents to output views based by evaluating a given expression. 

On the basis of the categorization, we perform actions on the received emails using Move Email Snap, Mark Email As Read Snap, and Flag Email Snap. 

The following portion of the Pipeline will process the emails:

Image Added

Let us configure the Search Email Snap to retrieve emails which have been delivered today.

Search Today's EmailOutput

Image Added

Image Added

Now we configure Router Snap setting up the Expressions to Output view name to categorize the emails accordingly and push them to appropriate Snaps.

Categorize Email

Image Added

As per the above step, the email which are retrieved are categorized and sent to three downstream Snaps, Move Email Snap, Mark Email As Read Snap, and Flag Email Snap respectively.

We configure the Snap Settings and preview the output of each Snap as shown below:

Move EmailOutput

Image Added

Image Added


Mark Email As ReadOutput

Image Added

Image Added


Flag EmailOutput

Image Added

Image Added

Hence, we have successfully performed action on each email as we have configured. This Pipeline configuration helps in saving a lot of time and effort without any space for human errors. 

Downloads

Attachments
patterns*.slp, *.zip