Articles in this section
Category / Section

How to Create Tickets on Scheduled Basis Using Microsoft Power Automate and Rest API

Published:

You can run scheduled automation using Power Automate flow. You can use the BoldDesk REST API in the Power Automate flow to create the tickets on a scheduled basis. Refer to this article to learn how to create scheduled flow in Microsoft.

Creating the tickets in a scheduled flow

To generate the tickets in a scheduled flow, follow the given steps:

  1. Navigate to the power automate page.
  2. Click the Create button and select the Scheduled cloud flow option.

Create.png

  1. Enter the flow name and select the required interval and then click the Create button as shown below.

Flow_Name.png

  1. Click the (+) icon and select the Add an action option.
  2. Search and select the HTTP request option as shown below.

Add_an_action.png

HTTP.png

  1. In the HTTP request, update the details as shown in the following screenshot.

Enter_details.png

Sample Payload below:

{
 "brandId": 1,
 "subject": "Subject of the ticket",
 "categoryId": 11,
 "isVisibleInCustomerPortal": true,
 "requesterId": 1002,
 "description": "Description of the ticket",
 "typeId": 2,
 "tag": "test",
 "priorityId": 1
}

Note:
Use your portal values for the categoryId, requesterId, typeId, and brandId.

  1. Save the flow and test it.

Save_and_test.png

Note:
If you have selected a flow interval in minutes, make sure to turn off the scheduled flow after the time has elapsed. Otherwise, it will keep generating the tickets continuously.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied