Add a trigger to an AI agent

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:4分
  • In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met.

    始める前に

    Role required: sn_aia.admin

    このタスクについて

    Adding a trigger is optional. If you want your AI agent to be used only in chats, you don't need to add a trigger. Only add a trigger if you want to invoke the AI agent automatically when some event occurs.

    If you don't want to add a trigger, skip to the final step, Select channels and access.

    手順

    1. Select Add trigger.
    2. On the form, fill in the fields.
      表 : 1. Create a new trigger
      Fields Description
      Select trigger List of triggers that are available in the instance.
      Name Name of the trigger.
      Trigger objective Additional user statements or sample utterances that help guide when to trigger this agentic workflow.

      Edit/create a trigger basic description

      表 : 2. Define when this trigger occurs
      Fields Description
      Table Name of the applicable table for your agentic workflow.
      Conditions Conditions that you can add to control the trigger configuration. You must have at least one condition.

      Select + Add condition set to add conditions to your agentic workflow trigger.

      Active trigger toggle Only enable the trigger once you’re confident in the execution of your AI agent. Try testing the AI agent execution and user access. To review overall trends over many executions, try an automated evaluation.

      Define when the trigger occurs section

      表 : 4. Select where to show this launch
      Fields Description
      Channel

      Medium for the agentic workflow output: Now Assist panel or Virtual Agent.

      注:
      To view the output from a triggered agentic workflow in the Now Assist panel, you need the now_assist_panel_user role.
      Show an alert to users Alerts appear in the selected channel.

      Log and launch options for a trigger section

      If you choose a scheduled trigger, additional options are available, such as the day of the week and time when you want the trigger to run.

      注:
      When running a scheduled trigger, not every record is included in the execution. By default, the value is 10. If you want to change this number, you must set the sn_aia.max_scheduled_trigger_query system property to a different value.

      If you choose an email trigger, the target emails must exist on the Reply [sys_reply] table. New emails aren’t available as triggers.

    3. Select Add.
    4. Repeat the preceding steps for additional triggers.

    タスクの結果

    You have added triggers to your AI agent to run it automatically under the specified conditions.

    次のタスク

    Select Save and continue to move to the final step, Select channels and access.