Versions Compared

Key

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

In this Article

...

  • User must be created and added to the Active Directory.
  • User must be created and added to the appropriate Slack Workspace.

This integrated Pipeline includes two Pipelines with a combination of Exchange Online, OneDrive, and Slack Snaps. 

  1. First Pipeline - We build this Pipeline to send onboarding emails using the Send Email Snap of Exchange Online Snap Pack.
  2. Second Pipeline - We build this Pipeline to automate the following tasks:
    1. Poll the email box to identify new emails.
    2. Connect Exchange Online, OneDrive, and Slack Snaps to perform the following tasks:
      • Exchange Online - Create and send a calendar invite for the induction session, and add the new-hire to the shared contacts list.
      • OneDrive - Assign access to one or more libraries in OneDrive.
      • Slack - Invite new-hire to Slack channels, upload picture of the new-hire, and post an introductory message.

...

We configure the Email Listener Snap to check for new emails (listen to emails) from the mailbox every one minute. Once a new email is received, this Snap triggers a notification.

Image RemovedImage Added

Upon validation, the following output is displayed in the Snap's preview.

Next, we configure the Filter Snap to filter all emails that include the message Welcome Onboard.
Image RemovedImage Added

Upon validation, the Snap filters the email based on the subject of the email as shown in the output below:
Image RemovedImage Added

From the filtered email, we intend to fetch the email address and name of the new hire and transform that data by mapping them as follows to produce new output data.


Upon validation, the following output is displayed in the Snap's preview.
Image RemovedImage Added

Integrate Exchange Online, OneDrive, and Slack Snaps

...

Next, we configure the Create Contact Snap to add the contact information (name and emailid) of the new hire to the team's contact list.
Image RemovedImage Added

Upon validation, the Snap displays the following output in its preview.

Next, we configure the OneDrive Share Item Snap to grant permissions to the new hire to a shared folder that contains induction documents so that they can quickly get up to speed.
Image RemovedImage Added

Upon validation, the Snap displays the following output in its preview.

Image RemovedImage Added

Next, we configure the Filter Snap to filter the Slack contact named, John Doe.
Image RemovedImage Added

Upon validation, the Snap displays the filtered output in the preview.
Image RemovedImage Added

Next, we configure the Channel Operations Snap to invite John to the dev channel.
Image RemovedImage Added


Next, we use the Union Snap to connect the actual output and error view, to enable the Pipeline to run even if an error occurs, so that the Pipeline execution does not break. If the user's name is not John, the Snap outputs into an error view. This is an optional Snap in the Pipeline.
Image RemovedImage Added

Next, we configure the Upload File Snap to upload an image file of the new hire (for identification) to the channel in the Slack workspace.
Image RemovedImage Added

Upon validation, the following output is displayed in the Snap's preview.
Image RemovedImage Added

Finally, we configure the Send Message Snap to send an introductory message to the new hire.
Image RemovedImage Added

Upon validation, the following output is displayed in the Snap's preview.
Image RemovedImage Added

We can use this integrated Pipeline to automate employee onboarding process and save time required to perform each of these operations manually.

...