Skip to main content

AGI Script

The AGI Script type runs an AGI script and compares the AGIRESULT variable with TRUE.

Open Configuration > Conditions, select New Condition, enter a name, choose AGI Script in the Type field, complete the type-specific fields, and select Save.

AGI Script condition edit form in the Canistracci OIL tenant.
AGI Script condition edit form in the Canistracci OIL tenant.

Fields

Field or optionDescription
NameDisplay name used in condition lists and selectors.
TypeSelect AGI Script.
AGI ScriptScript to execute.
Parameter 1-5Optional script parameters, depending on the selected script definition.
AGIRESULTThe script result variable must evaluate to TRUE for the condition to match.

Example

FieldExample value
NameDocs Condition - AGI Script
AGI ScriptDocs Demo AGI 1

Destinations

For tenant conditions, select the destinations that should run when the condition matches and when it does not match. Global conditions are referenced by tenant-level Use a Global Condition records.

Editing and deleting

To edit this condition, open Docs Condition - AGI Script from the Conditions list, adjust the fields, and select Save. Before deleting it, check IVRs, schedules, routes, feature codes, and other call-flow objects that may reference it.