OzyApprovals documentation
  • 👋Welcome to OzyApprovals
  • Product Guide
    • 🛠️Getting set up
      • Registration
      • Account Activation
      • Reset Password
      • Account Management
    • 🏛️Managing an Organization
      • Add Organization
      • Changing Organizations
      • Team Members
      • Approval Balance
      • Access Tokens
      • SLAs
      • Billing
    • ⏳Approvals
      • Processes
      • Stages
    • ⚡Intergrations
      • Make a connection
      • Triggers
        • When a Ticket Is Actioned
        • When a Ticket SLA Is Breached
      • Actions
        • Register an Approval Request
        • Create a Ticket
      • Search
        • Find an Approval Request
        • Find a Ticket
    • ☑️Action Requests
      • Authorized views
      • Search engine
    • 📜Reports
    • ❓FAQs
  • Use Cases
    • Discount Administration
    • Content Publication Approval
    • Leave Requests
    • Expense Reimbursement
    • Project Proposal Approval
    • Access requests
Powered by GitBook
On this page
  1. Product Guide
  2. Intergrations
  3. Triggers

When a Ticket Is Actioned

By a user

PreviousTriggersNextWhen a Ticket SLA Is Breached

Last updated 1 year ago

This trigger is fired when a ticket is actioned by a user at a particular approval stage. The trigger outputs the full ticket details including the feedback given by the user.

Triggers can only be configured per stage.

Below is an illustration of how to set up a trigger for a particular stage.

Select the process. Once the process has been chosen, the stages under the selected process will be loaded for you to select.

Proceed to test the step to finish setting up the zap.

Choose an existing webhook or create a new one.

Select the process. Once the process has been chosen, the stages under the selected process will be loaded for you to select.

Click on the run once button and proceed to the view related to the stage that will be triggered. Action on any ticket. The trigger should pick up the data structure for use in subsequent stages

Select the process. Once the process has been chosen, the stages under the selected process will be loaded for you to select.

Regardless of the platform, the "When a Ticket is Actioned" trigger returns the following data structure

{
  "id": "1",
  "ticket_id": "1",
  "date_created": "2023-10-05T23:05:14+03:00",
  "request_platform": "Power Automate",
  "process_name": "Overtime Approvals",
  "process_description": "Overtime approvals",
  "process_id": "2",
  "request_id": "256",
  "stage_id": "4",
  "stage_name": "HR Approval",
  "stage_description": "HR Approval",
  "actioned_by": "user@gmail.com",
  "date_actioned": "2023-10-05T23:05:29+03:00",
  "action_data": {
    "do_you_approve": "YES",
    "rejection_reason": ""
  }

The action_data field will contain the responses provided by the user

Below is a breakdown of the json response.

Role
Capabilities

Administrator

Has all admin privileges

Editor

Can edit posts

Viewer

Can only view posts

Guest

Can only view posts they are inivted to

⚡
Select event
Selecting the stage
Testing the step
Select a trigger
Creatin a new webhook trigger
Testing trigger
Select trigger
Select the trigger stage