Use of Microsoft flow to build ticketing System in SharePoint

In this article, I have explained how to create a help desk solution using SharePoint Out of The Box functionality and Microsoft Flow. Help desks are usually created to receive “here” & “now” requests from customers. Let’s say you have a small team of 4 colleagues working on addressing the issues raised by the customer. So, we cannot send the same email to other colleagues to solve the issues of what others have done with that specific customer on that specific topic. For this, we can create our own SharePoint list to collect all customer requests under a single list. In order to keep track of the information related to the issue such as the individual who raised it, and the time period it takes can be maintained in SharePoint.

So, let’s get started.

Create web part to build help desk

Synching Microsoft Flow with the Custom List

Create List to be associated with the workflow

Here, we will create a helpdesk custom list. Follow the below steps:

    1. Open the list created as “IT Helpdesk”, click on list, & then click on "List settings".

      SharePoint

    2. Modify the “title” column to “issue” column, as shown in the below screenshot.

      SharePoint

      SharePoint

    3. Click on "Create column" as shown below.

      SharePoint

    4. Here, we created columns such as “Issue Description” as Multiple lines of text, “Preferred method of Contact” as choice, Phone number as “Number”,” Email Address” as single line of text ,”Status” as choice, “Issue Type” as Choice, “Date of Issue Submission” as date & time.

      SharePoint

Three State Workflow tracks the status, issue or task in three states. In each state the workflow assigns a task to the SharePoint users & sends that person an email alert about the task. The workflow will update the status of the item & will process the next step once the task is completed.

So let’s get started.

Step 1
Click on the list. Select Workflow settings and choose “Add a workflow”. Refer to the below screenshot.

SharePoint

Step 2
Select the workflow template as “Three-State”. Enter the name of the workflow. Select Task list as “Tasks”. Select History list as “Workflow History”. Uncheck the workflow to be manually started option and check “Creating a new item will start this workflow”. Click on next. Refer to the below screenshot.

SharePoint

SharePoint

Step 3
Change Task description field as “Issue Description”. Refer to the image below:

SharePoint

Step 4
Uncheck “Task due date” & “Task assigned to”. Select custom & assign the name as shown in the screenshot:

SharePoint

Step 5
Change task description field to “Issue description”.

SharePoint

Step 6
Uncheck “Task Due Date” & “Task assigned to”. Select Custom & assign the name and click ok as shown in the screenshot:

SharePoint

Customising Helpdesk Form

Step 1

Click on Items, New items as shown in the below screenshot.

SharePoint

Step 2

Click on gear icon on upper right and click on “Edit page “option.

SharePoint

Step 3

Click on Add a Webpart and add a Content editor as shown below,

SharePoint

SharePoint

Step 4

Paste the content & stop editing the page as shown in the screenshot.

SharePoint

SharePoint

Step 5

Add new item to the form which was received through the mail in the list created using Microsoft flow:

SharePoint

Step 6

Once the task has been assigned you will get a mail, as shown below.

SharePoint

Step 7

After completing the task, the respective task assignee has to update the status, as shown in the below screenshot.

SharePoint

When an email is received, the issue gets stored in the list & the respective admin will assign the task to a specific user. Once the task is completed or in progress, the same will be updated by the user.