[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"documentation:page:\u002Fdocumentation\u002Fautomations\u002Fconditions":3,"documentation:nav":714},{"id":4,"title":5,"body":6,"category":703,"description":704,"extension":705,"meta":706,"navigation":707,"order":708,"path":709,"seo":710,"stem":711,"updated":712,"__hash__":713},"documentation\u002Fdocumentation\u002Fautomations\u002Fconditions.md","Conditions",{"type":7,"value":8,"toc":693},"minimark",[9,26,44,49,52,58,64,70,75,81,86,89,138,142,279,283,392,396,403,602,606,615,652,656],[10,11,12,13,17,18,21,22,25],"p",{},"A condition node tests ",[14,15,16],"strong",{},"one field"," of the data flowing through the run, and routes the workflow through its ",[14,19,20],{},"True"," output when the test passes or its ",[14,23,24],{},"False"," output when it fails.",[10,27,28,29,32,33,38,39,43],{},"A condition can only test what the nodes ",[14,30,31],{},"before it"," published: the ",[34,35,37],"a",{"href":36},"\u002Fdocumentation\u002Fautomations\u002Ftriggers","trigger"," always publishes the ticket's data, and each ",[34,40,42],{"href":41},"\u002Fdocumentation\u002Fautomations\u002Factions","action"," publishes what it did. So a condition placed right after the trigger tests the ticket, while one placed after an action can also test that action's outcome.",[45,46,48],"h2",{"id":47},"operators","Operators",[10,50,51],{},"The operators offered depend on the field's type.",[10,53,54,57],{},[14,55,56],{},"Text"," — statuses, priority, subject, form button, message content:",[59,60,61],"blockquote",{},[10,62,63],{},"is · is not · is one of · contains · does not contain · starts with · does not start with · ends with · does not end with · is empty · is not empty · matches regex · does not match regex · exists · does not exist",[10,65,66,69],{},[14,67,68],{},"List"," — tags, packages, assignees (a ticket can have several of each):",[59,71,72],{},[10,73,74],{},"contains · does not contain · contains any of · contains none of · is not · is empty · is not empty · length is · length is not · length is greater than · length is less than · length is at least · length is at most",[10,76,77,80],{},[14,78,79],{},"Yes\u002Fno"," — what an action reports about itself (whether it changed anything, whether a call succeeded):",[59,82,83],{},[10,84,85],{},"is true · is false · exists · does not exist",[10,87,88],{},"A few rules worth knowing:",[90,91,92,111,119,130],"ul",{},[93,94,95,98,99,103,104,103,107,110],"li",{},[14,96,97],{},"Presence operators"," (",[100,101,102],"em",{},"is empty",", ",[100,105,106],{},"exists",[100,108,109],{},"is true",", and their negatives) take no value.",[93,112,113,118],{},[100,114,115],{},[14,116,117],{},"Matches regex"," runs the pattern with a linear-time engine, so it is safe against malicious patterns; patterns are capped at 200 characters.",[93,120,121,124,125,129],{},[14,122,123],{},"Length operators"," compare against a whole number (",[126,127,128],"code",{},"0"," and up).",[93,131,132,133,137],{},"A condition on a field the workflow does not provide keeps it a ",[34,134,136],{"href":135},"\u002Fdocumentation\u002Fautomations\u002Fbuilding-workflows#drafts","draft"," — it can still be saved, but not enabled — and the editor names the node and the missing field so you can fix it.",[45,139,141],{"id":140},"fields-every-trigger-publishes","Fields every trigger publishes",[143,144,145,161],"table",{},[146,147,148],"thead",{},[149,150,151,155,158],"tr",{},[152,153,154],"th",{},"Field",[152,156,157],{},"Type",[152,159,160],{},"Value",[162,163,164,175,184,194,204,213,223,233,242,251,261,270],"tbody",{},[149,165,166,170,172],{},[167,168,169],"td",{},"Ticket number",[167,171,56],{},[167,173,174],{},"Typed",[149,176,177,180,182],{},[167,178,179],{},"Subject",[167,181,56],{},[167,183,174],{},[149,185,186,189,191],{},[167,187,188],{},"Current status",[167,190,56],{},[167,192,193],{},"Picked from the status list",[149,195,196,199,201],{},[167,197,198],{},"Priority",[167,200,56],{},[167,202,203],{},"Picked from the priority list",[149,205,206,209,211],{},[167,207,208],{},"Tags",[167,210,68],{},[167,212,174],{},[149,214,215,218,220],{},[167,216,217],{},"Packages",[167,219,68],{},[167,221,222],{},"Picked from your Tebex catalog",[149,224,225,228,230],{},[167,226,227],{},"Package ID (manual entry)",[167,229,68],{},[167,231,232],{},"Typed — for a package that was disabled or pulled from the shop, which no catalog list offers",[149,234,235,238,240],{},[167,236,237],{},"Package names",[167,239,68],{},[167,241,174],{},[149,243,244,247,249],{},[167,245,246],{},"Form button",[167,248,56],{},[167,250,174],{},[149,252,253,256,258],{},[167,254,255],{},"Assignees",[167,257,68],{},[167,259,260],{},"Picked from the project's members",[149,262,263,266,268],{},[167,264,265],{},"Customer name",[167,267,56],{},[167,269,174],{},[149,271,272,275,277],{},[167,273,274],{},"Project name",[167,276,56],{},[167,278,174],{},[45,280,282],{"id":281},"fields-a-specific-trigger-adds","Fields a specific trigger adds",[143,284,285,296],{},[146,286,287],{},[149,288,289,291,293],{},[152,290,154],{},[152,292,157],{},[152,294,295],{},"Trigger",[162,297,298,308,317,327,337,346,355,364,374,383],{},[149,299,300,303,305],{},[167,301,302],{},"Previous status",[167,304,56],{},[167,306,307],{},"Status changed",[149,309,310,313,315],{},[167,311,312],{},"New status",[167,314,56],{},[167,316,307],{},[149,318,319,322,324],{},[167,320,321],{},"Ticket source",[167,323,56],{},[167,325,326],{},"Ticket creation",[149,328,329,332,334],{},[167,330,331],{},"Message author type",[167,333,56],{},[167,335,336],{},"On chat message",[149,338,339,342,344],{},[167,340,341],{},"Message content",[167,343,56],{},[167,345,336],{},[149,347,348,351,353],{},[167,349,350],{},"Message author",[167,352,56],{},[167,354,336],{},[149,356,357,360,362],{},[167,358,359],{},"Message ID",[167,361,56],{},[167,363,336],{},[149,365,366,369,371],{},[167,367,368],{},"Selected packages",[167,370,68],{},[167,372,373],{},"Package selected",[149,375,376,379,381],{},[167,377,378],{},"Selected package ID (manual entry)",[167,380,68],{},[167,382,373],{},[149,384,385,388,390],{},[167,386,387],{},"Selected package names",[167,389,68],{},[167,391,373],{},[45,393,395],{"id":394},"fields-an-action-adds","Fields an action adds",[10,397,398,399,402],{},"Place the condition ",[14,400,401],{},"after"," the action to test these.",[143,404,405,416],{},[146,406,407],{},[149,408,409,411,413],{},[152,410,154],{},[152,412,157],{},[152,414,415],{},"Published by",[162,417,418,428,438,448,457,467,477,487,496,506,515,525,534,544,554,564,574,583,593],{},[149,419,420,423,425],{},[167,421,422],{},"Posted message ID, Posted message type, Posted message content",[167,424,56],{},[167,426,427],{},"Post message",[149,429,430,433,435],{},[167,431,432],{},"Chosen option ID, Chosen option label",[167,434,56],{},[167,436,437],{},"Post message, when it offers choices",[149,439,440,443,445],{},[167,441,442],{},"Scheduled closure date",[167,444,56],{},[167,446,447],{},"Schedule closure",[149,449,450,453,455],{},[167,451,452],{},"Closure skipped",[167,454,79],{},[167,456,447],{},[149,458,459,462,464],{},[167,460,461],{},"Linked package IDs, Linked package names",[167,463,68],{},[167,465,466],{},"Set package, Ask for the package",[149,468,469,472,474],{},[167,470,471],{},"Package changed",[167,473,79],{},[167,475,476],{},"Set package",[149,478,479,482,484],{},[167,480,481],{},"Package unlinked",[167,483,79],{},[167,485,486],{},"Unlink package",[149,488,489,492,494],{},[167,490,491],{},"Unlinked package names",[167,493,68],{},[167,495,486],{},[149,497,498,501,503],{},[167,499,500],{},"Assignee ID, Assignee name",[167,502,56],{},[167,504,505],{},"Assign to a user",[149,507,508,511,513],{},[167,509,510],{},"Assignee changed",[167,512,79],{},[167,514,505],{},[149,516,517,520,522],{},[167,518,519],{},"New priority, Previous priority",[167,521,56],{},[167,523,524],{},"Set priority",[149,526,527,530,532],{},[167,528,529],{},"Priority changed",[167,531,79],{},[167,533,524],{},[149,535,536,539,541],{},[167,537,538],{},"Notification sent",[167,540,79],{},[167,542,543],{},"Discord notification",[149,545,546,549,551],{},[167,547,548],{},"Notified channel ID",[167,550,56],{},[167,552,553],{},"Discord notification, to a channel",[149,555,556,559,561],{},[167,557,558],{},"Direct messages delivered, Recipients skipped",[167,560,56],{},[167,562,563],{},"Discord notification, as direct messages",[149,565,566,569,571],{},[167,567,568],{},"Webhook succeeded",[167,570,79],{},[167,572,573],{},"Call a webhook",[149,575,576,579,581],{},[167,577,578],{},"Webhook HTTP status",[167,580,56],{},[167,582,573],{},[149,584,585,588,590],{},[167,586,587],{},"AI confidence",[167,589,56],{},[167,591,592],{},"Ask AI",[149,594,595,598,600],{},[167,596,597],{},"AI asked for a human",[167,599,79],{},[167,601,592],{},[45,603,605],{"id":604},"branching","Branching",[10,607,608,609,611,612,614],{},"Connect the condition's ",[14,610,20],{}," output to what should happen when it matches, and its ",[14,613,24],{}," output to what should happen otherwise.",[90,616,617,631,641],{},[93,618,619,620,622,623,626,627,630],{},"If a condition evaluates ",[100,621,24],{}," and its False output is ",[14,624,625],{},"not connected",", that branch stops there and the run is recorded as ",[100,628,629],{},"Condition not met",". This reproduces a simple filter, and other branches of the same run, if any, still complete.",[93,632,633,634,636,637,640],{},"Several conditions chained through their ",[14,635,20],{}," outputs act as an ",[14,638,639],{},"AND",".",[93,642,643,644,646,647,651],{},"A ",[100,645,629],{}," run costs nothing against your ",[34,648,650],{"href":649},"\u002Fdocumentation\u002Fautomations\u002Fruns-and-quota#monthly-run-quota","monthly quota",", so conditions are free to use as filters.",[45,653,655],{"id":654},"example","Example",[59,657,658],{},[10,659,660,663,665,666,668,669,668,672,103,675,678,679,681,682,684,685,687,688,681,690,692],{},[14,661,662],{},"Urgent tickets about one package go straight to the specialist, the others just get tagged.",[100,664,326],{}," → condition ",[14,667,217],{}," ",[100,670,671],{},"contains any of",[126,673,674],{},"Premium Script",[126,676,677],{},"Premium Script Pro","\n→ ",[14,680,20],{},": ",[14,683,505],{}," (the specialist), then ",[14,686,543],{}," to your team channel\n→ ",[14,689,24],{},[14,691,427],{}," as an internal note, so whoever picks the ticket up knows it was not routed.",{"title":694,"searchDepth":695,"depth":695,"links":696},"",2,[697,698,699,700,701,702],{"id":47,"depth":695,"text":48},{"id":140,"depth":695,"text":141},{"id":281,"depth":695,"text":282},{"id":394,"depth":695,"text":395},{"id":604,"depth":695,"text":605},{"id":654,"depth":695,"text":655},"automations","How a condition tests one field of the run's data, the operators available per field type, the full list of testable fields, and how True\u002FFalse branching works.","md",{},true,3,"\u002Fdocumentation\u002Fautomations\u002Fconditions",{"title":5,"description":704},"documentation\u002Fautomations\u002Fconditions","2026-08-31","AM-UvSdeH4qPbGFoKZ9bKyqOAZM5oiDVQiDDa-v1thU",[715,719,722,727,731,734,738,742,746,750,754,757,760,762,765,768,772,775,778,779,782,785,788,791,794,798,801,805],{"title":716,"path":717,"category":718,"order":718},"Customer portal","\u002Fdocumentation\u002Fportal\u002Foverview",null,{"title":720,"path":721,"category":718,"order":718},"Ticket lifecycle","\u002Fdocumentation\u002Ftickets\u002Flifecycle",{"title":723,"path":724,"category":725,"order":726},"Account & security","\u002Fdocumentation\u002Faccount\u002Fsecurity","account",1,{"title":728,"path":729,"category":730,"order":726},"AI assistant","\u002Fdocumentation\u002Fai\u002Fassistant","ai",{"title":732,"path":733,"category":703,"order":726},"Automation workflows","\u002Fdocumentation\u002Fautomations\u002Foverview",{"title":735,"path":736,"category":737,"order":726},"CSAT surveys","\u002Fdocumentation\u002Fcsat","csat",{"title":739,"path":740,"category":741,"order":726},"Getting started","\u002Fdocumentation\u002Fgetting-started","getting-started",{"title":743,"path":744,"category":745,"order":726},"Tebex integration","\u002Fdocumentation\u002Fintegrations\u002Ftebex","integrations",{"title":747,"path":748,"category":749,"order":726},"Roles & permissions","\u002Fdocumentation\u002Fteam\u002Froles-permissions","team",{"title":751,"path":752,"category":753,"order":726},"Ticket statuses","\u002Fdocumentation\u002Ftickets\u002Fstatuses","tickets",{"title":755,"path":756,"category":725,"order":695},"Notifications","\u002Fdocumentation\u002Faccount\u002Fnotifications",{"title":758,"path":759,"category":730,"order":695},"AI knowledge base","\u002Fdocumentation\u002Fai\u002Fknowledge",{"title":761,"path":36,"category":703,"order":695},"Triggers",{"title":763,"path":764,"category":745,"order":695},"Discord integration","\u002Fdocumentation\u002Fintegrations\u002Fdiscord",{"title":766,"path":767,"category":741,"order":695},"Plans & limits","\u002Fdocumentation\u002Fplans-limits",{"title":769,"path":770,"category":771,"order":695},"Portal customization","\u002Fdocumentation\u002Fportal\u002Fbranding","portal",{"title":773,"path":774,"category":749,"order":695},"Members & invitations","\u002Fdocumentation\u002Fteam\u002Fmembers-invitations",{"title":776,"path":777,"category":730,"order":708},"Writing AI-ready documentation","\u002Fdocumentation\u002Fai\u002Fwriting-ai-ready-docs",{"title":5,"path":709,"category":703,"order":708},{"title":780,"path":781,"category":745,"order":708},"GitHub integration","\u002Fdocumentation\u002Fintegrations\u002Fgithub",{"title":783,"path":784,"category":753,"order":708},"Messages & conversation","\u002Fdocumentation\u002Ftickets\u002Fmessages",{"title":786,"path":41,"category":703,"order":787},"Actions",4,{"title":789,"path":790,"category":745,"order":787},"Tebex keys & security","\u002Fdocumentation\u002Fintegrations\u002Ftebex-keys",{"title":792,"path":793,"category":753,"order":787},"Configuring the ticket form","\u002Fdocumentation\u002Ftickets\u002Fconfiguration",{"title":795,"path":796,"category":703,"order":797},"Placeholders","\u002Fdocumentation\u002Fautomations\u002Fplaceholders",5,{"title":799,"path":800,"category":745,"order":797},"Self-hosted Tebex Bridge","\u002Fdocumentation\u002Fintegrations\u002Ftebex-bridge",{"title":802,"path":803,"category":703,"order":804},"Building workflows","\u002Fdocumentation\u002Fautomations\u002Fbuilding-workflows",6,{"title":806,"path":807,"category":703,"order":808},"Runs and quota","\u002Fdocumentation\u002Fautomations\u002Fruns-and-quota",7]