> ## Documentation Index
> Fetch the complete documentation index at: https://docs.periskope.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggers

## Overview

Triggers are events or notifications generated by the system or users that initiate the execution of a workflow. They act as the starting point of an automation workflow.

Available Triggers:

<Steps>
  <Step title="New Chat Created">
    When a new chat/ group is created.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the
      workflow.
    </ParamField>
  </Step>

  <Step title="Chat Label Added/Removed">
    When a label is added or removed from a chat.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the
      workflow.
    </ParamField>
  </Step>

  <Step title="New Reaction Added">
    When a reaction is added to a message.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the
      workflow.
    </ParamField>
  </Step>

  <Step title="New Message Received">
    When a new message is received in a chat from an external number or internal number (if enabled). You can choose to trigger the workflow when a new message is received from an
    external number or internal number (if enabled).

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the workflow.
    </ParamField>

    <ParamField path="Allow Internal Numbers" type="boolean">
      Allow messages from internal numbers to trigger the workflow.
    </ParamField>

    <img className="block border rounded-xl shadow mx-auto mt-4" src="https://mintcdn.com/bharatkumarramesh/TZOTyuhW_rLmN--9/integrations/workflows/images/message-created-options.png?fit=max&auto=format&n=TZOTyuhW_rLmN--9&q=85&s=27b6b4646c16ad83f937ce809b13ea87" alt="Conditions" width="50%" data-path="integrations/workflows/images/message-created-options.png" />
  </Step>

  <Step title="Message Updated">
    When a message is edited/ updated.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the workflow.
    </ParamField>
  </Step>

  <Step title="Message Flagged">
    When a message is flagged by AI or manually by a user.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the workflow.
    </ParamField>
  </Step>

  <Step title="Message Unlagged">
    When a message is unflagged by AI or manually by a user.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the workflow.
    </ParamField>
  </Step>

  <Step title="Message Deleted">
    When a message is deleted in a chat.

    <ParamField path="Org Phones" type="list">
      The list of organization phone numbers that are allowed to trigger the workflow.
    </ParamField>
  </Step>

  <Step title="New Ticket Created">
    When a new ticket is created on Periskope.
  </Step>

  <Step title="Ticket Updated">
    When a ticket property is updated. For e.g. subject, status, priority, due date etc.
  </Step>

  <Step title="Ticket Label Added/Removed">
    When a label is added or removed to a ticket.
  </Step>

  <Step title="Ticket Closed">
    When a ticket is closed.
  </Step>

  <Step title="New Task Created">
    When a new task is created.
  </Step>

  <Step title="Task Assigned">
    When a task is assigned to a user.
  </Step>
</Steps>

<Frame caption="Triggers">
  <img className="block border rounded-xl shadow mx-auto mt-4" src="https://mintcdn.com/bharatkumarramesh/TZOTyuhW_rLmN--9/integrations/workflows/images/triggers.png?fit=max&auto=format&n=TZOTyuhW_rLmN--9&q=85&s=221c98941d03f384cac64d21140405f2" alt="Conditions" width="50%" data-path="integrations/workflows/images/triggers.png" />
</Frame>
