Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.
Retry rules, saving and editing
The Retry rules tab
Take from a preset: Default, Aggressive, Conservative or organization presets.
Copy the rules into the script — this is a copy: later edits to the preset do not change the script.
The rule editor is the same as for campaigns: condition → action, order from top to bottom.
The rules are one set for all campaigns of this script. The number of attempts and the interval come in the request (try, hours and minutes) or are taken from the account defaults, and the rules decide which outcomes to call back.
Besides the usual status conditions, there are four conversation conditions needed for V2 likeness: Caller hung up, No speech, Too short, Silence (auto-end). The hints under them explain how such a call behaved in V2.
Dial failed — the V2 redial on the failed status: the dial gave no connection and telephony reported no precise reason. V2 redialed such a number; to make the script do the same, add the rule Dial failed → Redial after a delay or Redial on the next pass. The dial attempt is spent.
A rule without Times fires once; more than 30 is not possible. If the agent has no success criterion, the Goal not achieved rule never fires — the cabinet notes this. For success criteria, see Goals.
The Routing tab
Placeholder: routing rules will come with the rule builder; a registry script always goes to its agent.
Routing cannot be edited from the cabinet yet. Routing scripts (without an agent, with “by number history” rules) are a separate future improvement.
Saving and refusals
The Add script / Save button is disabled while something is not filled in. Its hint names the first obstacle in this order:
script name;
agent;
classification;
explicit binding not finished;
field error;
agent variable not selected;
signature variable without a value;
rule error.
The summary at the bottom shows coverage: “The agent gets X variables of Y: A from the fields and B from the adapter core” and the list of fields that are not passed.A server refusal is shown at the bottom of the window, and at the same time the window switches to the relevant tab and highlights the field:
Refusal
Where it takes you
What to do
The script name must not be empty…
Script and agent → name
Fix the name.
The account already has a script with this name
Script and agent → name
Open the existing script instead of a new one.
The agent is not found in the organization of the account or is archived / The agent has never been published
Script and agent → agent
Publish the agent or select another one.
Select a classification for a script with an agent
Script and agent → classification
Set the purpose of dialing.
The dialing binding is not among the trunk subgroups available to the organization…
Script and agent → binding
Select a trunk and a subgroup the agent is bound to.
Schema field N is invalid: …
Fields → row N
Fix the form, limits or values.
The field … is reserved by the platform
Fields → row
Rename the field or the entry target.
The field … maps to the variable …, which the published agent does not use
Fields → row
Select an existing variable or publish the agent with this variable.
The variable … is set by the platform during the call
Fields → all entries with this target
Select another variable.
The agent signature variable … gets no value from the script
Fields → left panel
Point a field at it or add a field with this name with the + field button.
The fallback value of … is invalid
Fields → row
The fallback must fit the field form: length, character set, up to 1000 characters.
Retry rule N is invalid
Rules → rule N
Fix the condition or action.
A new publication of the agent does not recheck the script. The variable map is checked against the agent’s published version at the moment the script is saved. If the agent is later republished with a new signature variable, the script stays saved, but campaigns based on it stop launching, and the client gets “Internal error, try again later”.After each publication of an agent used in the registry, open the script and save it again: the summary shows what has changed.
Editing and deleting a script
The pencil in a row opens the same window titled Script <name>. All tabs are editable; changing the agent rechecks the variable map.
If the agent is deleted, archived or not published, the cabinet shows a mark and the warning “The script will not save until it points at a live published agent.”
To delete, use the trash can in the row or the Delete the script button at the bottom of the window, with confirmation. After deletion, client requests with this script name are no longer accepted. Campaigns already created are not affected.
Checklist before handing over to the client
The account is active, and the password has been given to the client.
For each script name in the client’s requests, there is a registry row with a published agent and a classification.
The field schema matches the real request row: no extra or missing keys.
The summary shows “binding: auto, unambiguous” or an explicit binding.
No signature variable of the agent is “without a value”.
A test create with one row to your own number goes through, the campaign is visible in the organization cabinet, the call took place, and the agent spoke the variables.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"HubTalk AI","colors":{"primary":"#440099","light":"#6B21D6","dark":"#7C3AED"},"logo":{"light":"https://mintcdn.com/hubtalk/beMwuzhyHkgYeb3A/logo/new_logo.svg?fit=max\u0026auto=format\u0026n=beMwuzhyHkgYeb3A\u0026q=85\u0026s=fee415d6d73d48c227d61d8b9a2325f2","dark":"https://mintcdn.com/hubtalk/beMwuzhyHkgYeb3A/logo/new_logo_dark.svg?fit=max\u0026auto=format\u0026n=beMwuzhyHkgYeb3A\u0026q=85\u0026s=931310649ba4c376934c0ee30b816431"},"favicon":"https://mintcdn.com/hubtalk/GMvtjWdqWk0BhtuQ/favicon.svg?fit=max\u0026auto=format\u0026n=GMvtjWdqWk0BhtuQ\u0026q=85\u0026s=d2b125518b01c87a79756009ec74a5aa","styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"v4/introduction"},{"language":"ru","href":"ru/v4/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hubtalk","hasAudioNarration":false,"actualSubdomain":"hubtalk","customDomains":["docs.hubtalk.ai"],"gitSource":{"type":"github","owner":"cybernetkz","repo":"cybernet_mintify_pub_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afefd0a5246eb87f3605827","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"ru","tag":"Conversation Platform v4","count":44},{"language":"en","tag":"Conversation Platform v4","count":44},{"language":"ru","tag":"Руководство по платформе","count":42},{"language":"en","tag":"Platform Guide","count":42},{"language":"ru","tag":"v4 Tutorial","count":29},{"language":"en","tag":"v4 Tutorial","count":26},{"language":"ru","tag":"v2 - v4 адаптер","count":19},{"language":"en","tag":"v2 - v4 adapter","count":19},{"language":"ru","tag":"API Reference","count":16},{"language":"en","tag":"API Reference","count":16},{"language":"ru","tag":"Технический справочник","count":12},{"language":"en","tag":"Technical reference","count":12},{"language":"ru","tag":"Настройки агента","count":9},{"language":"en","tag":"Agent settings","count":9},{"language":"ru","tag":"API для клиента V2","count":7},{"language":"ru","tag":"История и отчёты","count":7},{"language":"en","tag":"API for the V2 client","count":7},{"language":"en","tag":"History \u0026 reports","count":7},{"language":"ru","tag":"Кампании","count":6},{"language":"en","tag":"Campaigns","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"v4/compat-adapter/registry-rules","slug":"/v4/compat-adapter/registry-rules","pageMetadata":{"title":"Retry rules, saving and editing","description":"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.","href":"/v4/compat-adapter/registry-rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Check,Heading,OptimizedImage,Table,Warning}=_components;if(!Check)_missingMdxReference(`Check`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`retry-rules-saving-and-editing`,children:`Retry rules, saving and editing`}),`\n`,_jsx(Heading,{level:`2`,id:`the-retry-rules-tab`,children:`The Retry rules tab`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=89589682ed128a1a2fbd116fcfde0d74`,alt:`The Retry rules tab`,\"data-og-width\":`1536`,width:`1536`,\"data-og-height\":`674`,height:`674`,\"data-path\":`images/v4_adapter_registry_retry_rules_en.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=280\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=a6cff9867e2181bb9d376cee7a09ac3f 280w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=560\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=2d0952a24edd054e9955fbc128fd2ba2 560w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=840\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=bd959bf37ba80c41235e9b53cddc9847 840w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=1100\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=9c9c1e4343d031979de8f197234b9b23 1100w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=1650\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=029fefd28a60074e2b664bc2d6986d8f 1650w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_retry_rules_en.png?w=2500\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=c0de353c8e1cd4cf5981bb206757003e 2500w`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Take from a preset`}),`: `,_jsx(_components.strong,{children:`Default`}),`, `,_jsx(_components.strong,{children:`Aggressive`}),`, `,_jsx(_components.strong,{children:`Conservative`}),` or organization presets.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Copy the rules into the script`}),` — this is a copy: later edits to the preset do not change the script.`]}),`\n`,_jsx(_components.li,{children:`The rule editor is the same as for campaigns: condition → action, order from top to bottom.`}),`\n`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The rules are `,_jsx(_components.strong,{children:`one set for all campaigns of this script`}),`. The number of attempts and the interval come in the request (`,_jsx(_components.code,{children:`try`}),`, hours and minutes) or are taken from the account defaults, and the rules decide which outcomes to call back.`]}),`\n`,_jsxs(_components.li,{children:[`Besides the usual status conditions, there are four conversation conditions needed for V2 likeness: `,_jsx(_components.strong,{children:`Caller hung up`}),`, `,_jsx(_components.strong,{children:`No speech`}),`, `,_jsx(_components.strong,{children:`Too short`}),`, `,_jsx(_components.strong,{children:`Silence (auto-end)`}),`. The hints under them explain how such a call behaved in V2.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dial failed`}),` — the V2 redial on the `,_jsx(_components.code,{children:`failed`}),` status: the dial gave no connection and telephony reported no precise reason. V2 redialed such a number; to make the script do the same, add the rule `,_jsx(_components.strong,{children:`Dial failed`}),` → `,_jsx(_components.strong,{children:`Redial after a delay`}),` or `,_jsx(_components.strong,{children:`Redial on the next pass`}),`. The dial attempt is spent.`]}),`\n`,_jsxs(_components.li,{children:[`A rule without `,_jsx(_components.strong,{children:`Times`}),` fires once; more than 30 is not possible. If the agent has no success criterion, the `,_jsx(_components.strong,{children:`Goal not achieved`}),` rule never fires — the cabinet notes this. For success criteria, see `,_jsx(_components.a,{href:`/v4/platform/agent-settings/goals`,children:`Goals`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-routing-tab`,children:`The Routing tab`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=e370e12d9eda8f850db8b909c9a6a1bf`,alt:`The Routing tab`,\"data-og-width\":`1536`,width:`1536`,\"data-og-height\":`566`,height:`566`,\"data-path\":`images/v4_adapter_registry_routing_en.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=280\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=c126f6a0b4ec692dc6a9761d09c6ae64 280w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=560\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=7bb7dc71d0f9a4aa7437adaead916363 560w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=840\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=92e25d3edf515143742d3ba88a94c88b 840w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=1100\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=978494c7bb2e44fce42909d230aacbba 1100w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=1650\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=b01b71cbe4be73dd5b4de0087a7f209c 1650w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_routing_en.png?w=2500\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=04515c4dce7cff86466787065caae9b5 2500w`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Placeholder: routing rules will come with the rule builder; a registry script always goes to its agent.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Routing cannot be edited from the cabinet yet. Routing scripts (without an agent, with “by number history” rules) are a separate future improvement.`}),`\n`,_jsx(Heading,{level:`2`,id:`saving-and-refusals`,children:`Saving and refusals`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Add script`}),` / `,_jsx(_components.strong,{children:`Save`}),` button is disabled while something is not filled in. Its hint names the first obstacle in this order:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`script name;`}),`\n`,_jsx(_components.li,{children:`agent;`}),`\n`,_jsx(_components.li,{children:`classification;`}),`\n`,_jsx(_components.li,{children:`explicit binding not finished;`}),`\n`,_jsx(_components.li,{children:`field error;`}),`\n`,_jsx(_components.li,{children:`agent variable not selected;`}),`\n`,_jsx(_components.li,{children:`signature variable without a value;`}),`\n`,_jsx(_components.li,{children:`rule error.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The summary at the bottom shows coverage: “The agent gets X variables of Y: A from the fields and B from the adapter core” and the list of fields that are not passed.`}),`\n`,_jsx(_components.p,{children:`A server refusal is shown at the bottom of the window, and at the same time the window switches to the relevant tab and highlights the field:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Refusal`}),_jsx(_components.th,{children:`Where it takes you`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The script name must not be empty…`}),_jsx(_components.td,{children:`Script and agent → name`}),_jsx(_components.td,{children:`Fix the name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The account already has a script with this name`}),_jsx(_components.td,{children:`Script and agent → name`}),_jsx(_components.td,{children:`Open the existing script instead of a new one.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The agent is not found in the organization of the account or is archived / The agent has never been published`}),_jsx(_components.td,{children:`Script and agent → agent`}),_jsx(_components.td,{children:`Publish the agent or select another one.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Select a classification for a script with an agent`}),_jsx(_components.td,{children:`Script and agent → classification`}),_jsx(_components.td,{children:`Set the purpose of dialing.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The dialing binding is not among the trunk subgroups available to the organization…`}),_jsx(_components.td,{children:`Script and agent → binding`}),_jsx(_components.td,{children:`Select a trunk and a subgroup the agent is bound to.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Schema field N is invalid: …`}),_jsx(_components.td,{children:`Fields → row N`}),_jsx(_components.td,{children:`Fix the form, limits or values.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The field … is reserved by the platform`}),_jsx(_components.td,{children:`Fields → row`}),_jsx(_components.td,{children:`Rename the field or the entry target.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The field … maps to the variable …, which the published agent does not use`}),_jsx(_components.td,{children:`Fields → row`}),_jsx(_components.td,{children:`Select an existing variable or publish the agent with this variable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The variable … is set by the platform during the call`}),_jsx(_components.td,{children:`Fields → all entries with this target`}),_jsx(_components.td,{children:`Select another variable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The agent signature variable … gets no value from the script`}),_jsx(_components.td,{children:`Fields → left panel`}),_jsxs(_components.td,{children:[`Point a field at it or add a field with this name with the `,_jsx(_components.strong,{children:`+ field`}),` button.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The fallback value of … is invalid`}),_jsx(_components.td,{children:`Fields → row`}),_jsx(_components.td,{children:`The fallback must fit the field form: length, character set, up to 1000 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Retry rule N is invalid`}),_jsx(_components.td,{children:`Rules → rule N`}),_jsx(_components.td,{children:`Fix the condition or action.`})]})]})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`A new publication of the agent does not recheck the script.`}),` The variable map is checked against the agent’s published version at the moment the script is saved. If the agent is later republished with a new signature variable, the script stays saved, but campaigns based on it stop launching, and the client gets “Internal error, try again later”.`]}),_jsx(_components.p,{children:`After each publication of an agent used in the registry, open the script and save it again: the summary shows what has changed.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`editing-and-deleting-a-script`,children:`Editing and deleting a script`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The pencil in a row opens the same window titled `,_jsx(_components.strong,{children:`Script \u003cname>`}),`. All tabs are editable; changing the agent rechecks the variable map.`]}),`\n`,_jsx(_components.li,{children:`If the agent is deleted, archived or not published, the cabinet shows a mark and the warning “The script will not save until it points at a live published agent.”`}),`\n`,_jsxs(_components.li,{children:[`To delete, use the trash can in the row or the `,_jsx(_components.strong,{children:`Delete the script`}),` button at the bottom of the window, with confirmation. After deletion, client requests with this script name are no longer accepted. Campaigns already created are not affected.`]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=cce2d1148f8d1e72f32d48c0b2913116`,alt:`Script delete confirmation`,\"data-og-width\":`672`,width:`672`,\"data-og-height\":`267`,height:`267`,\"data-path\":`images/v4_adapter_registry_script_delete_en.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=280\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=472d29c5d4eca5a90ba78130968f2e6f 280w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=560\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=4838df7cbc0159cf12cb6a0864eb1594 560w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=840\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=5dcbc59961c5f8ecfc2449ea1beb9fb4 840w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=1100\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=a3d823941d3b2b1c8078d9212055eaad 1100w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=1650\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=e1384ad2033d55ad3f6c40d14d39c2d6 1650w, https://mintcdn.com/hubtalk/imXtUGq2OJsLMMCI/images/v4_adapter_registry_script_delete_en.png?w=2500\u0026fit=max\u0026auto=format\u0026n=imXtUGq2OJsLMMCI\u0026q=85\u0026s=28647ef83fe7c83889c2084740c35620 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`checklist-before-handing-over-to-the-client`,children:`Checklist before handing over to the client`}),`\n`,_jsx(Check,{children:_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The account is active, and the password has been given to the client.`}),`\n`,_jsx(_components.li,{children:`For each script name in the client’s requests, there is a registry row with a published agent and a classification.`}),`\n`,_jsx(_components.li,{children:`The field schema matches the real request row: no extra or missing keys.`}),`\n`,_jsx(_components.li,{children:`The summary shows “binding: auto, unambiguous” or an explicit binding.`}),`\n`,_jsx(_components.li,{children:`No signature variable of the agent is “without a value”.`}),`\n`,_jsxs(_components.li,{children:[`A test `,_jsx(_components.code,{children:`create`}),` with one row to your own number goes through, the campaign is visible in the organization cabinet, the call took place, and the agent spoke the variables.`]}),`\n`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Retry rules, saving and editing","description":"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.","href":"/v4/compat-adapter/registry-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Retry rules, saving and editing","slug":"retry-rules-saving-and-editing","depth":1,"children":[]},{"title":"The Retry rules tab","slug":"the-retry-rules-tab","depth":2,"children":[]},{"title":"The Routing tab","slug":"the-routing-tab","depth":2,"children":[]},{"title":"Saving and refusals","slug":"saving-and-refusals","depth":2,"children":[]},{"title":"Editing and deleting a script","slug":"editing-and-deleting-a-script","depth":2,"children":[]},{"title":"Checklist before handing over to the client","slug":"checklist-before-handing-over-to-the-client","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hubtalk","siteName":"HubTalk AI","title":"Retry rules, saving and editing - HubTalk AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/v4/compat-adapter/registry-rules","matchLevel":0},"ru":{"href":"/ru/v4/compat-adapter/registry-rules","matchLevel":1}}},"lastModified":"2026-11-16T07:22:00.064Z","originalFileLocation":"v4/compat-adapter/registry-rules.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\">\u003cmeta data-mint-head name=\"application-name\" content=\"HubTalk AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retry rules, saving and editing - HubTalk AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HubTalk AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hubtalk.mintlify.site/_mintlify/api/og/v2?division=Setup\u0026amp;title=Retry+rules%2C+saving+and+editing\u0026amp;description=Script+retry+rules%2C+routing%2C+saving+and+refusals%2C+editing+and+deleting+a+script%2C+and+a+checklist+before+handing+over+to+the+client.\u0026amp;theme=d7501a5ae2e4574387448045\u0026amp;signature=b8f8b209777b6a690801ce944e2a68a4a303f80f5c9aef8a9ad3c09d8a0d2306\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Retry rules, saving and editing - HubTalk AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hubtalk.mintlify.site/_mintlify/api/og/v2?division=Setup\u0026amp;title=Retry+rules%2C+saving+and+editing\u0026amp;description=Script+retry+rules%2C+routing%2C+saving+and+refusals%2C+editing+and+deleting+a+script%2C+and+a+checklist+before+handing+over+to+the+client.\u0026amp;theme=d7501a5ae2e4574387448045\u0026amp;signature=b8f8b209777b6a690801ce944e2a68a4a303f80f5c9aef8a9ad3c09d8a0d2306\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hubtalk/wtXJq5k6uZ80We1W/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HubTalk AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#440099\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v4/compat-adapter/registry-rules.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.hubtalk.ai/ru/v4/compat-adapter/registry-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hubtalk.ai/#organization\",\"name\":\"HubTalk AI\",\"url\":\"https://docs.hubtalk.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hubtalk/beMwuzhyHkgYeb3A/logo/new_logo.svg?fit=max\u0026auto=format\u0026n=beMwuzhyHkgYeb3A\u0026q=85\u0026s=fee415d6d73d48c227d61d8b9a2325f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hubtalk.ai#website\",\"name\":\"HubTalk AI\",\"url\":\"https://docs.hubtalk.ai\",\"publisher\":{\"@id\":\"https://docs.hubtalk.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules#webpage\",\"url\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\",\"name\":\"Retry rules, saving and editing\",\"description\":\"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\",\"dateModified\":\"2026-11-16T07:22:00.064Z\",\"isPartOf\":{\"@id\":\"https://docs.hubtalk.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Setup\",\"item\":\"https://docs.hubtalk.ai/v4/compat-adapter/accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retry rules, saving and editing\",\"item\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules#article\",\"headline\":\"Retry rules, saving and editing\",\"name\":\"Retry rules, saving and editing\",\"description\":\"Script retry rules, routing, saving and refusals, editing and deleting a script, and a checklist before handing over to the client.\",\"url\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hubtalk.ai/v4/compat-adapter/registry-rules#webpage\"},\"dateModified\":\"2026-11-16T07:22:00.064Z\",\"publisher\":{\"@id\":\"https://docs.hubtalk.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hubtalk.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HubTalk AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"HubTalk AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v4/compat-adapter/registry-rules.md","siteName":"HubTalk AI","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Conversation Platform v4","icon":"book-open","pages":[{"title":"Conversation Platform v4","href":"/v4/introduction"}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/v4/web-api"}]},{"tab":"v4 Tutorial","icon":"graduation-cap","pages":[{"title":"v4 Tutorial","href":"/v4/tutorial/overview"}]},{"tab":"v2 - v4 adapter","icon":"plug","groups":[{"group":"Overview","pages":[{"title":"Compatibility adapter V2 → V4","href":"/v4/compat-adapter/overview"}]},{"group":"API for the V2 client","pages":[{"title":"Address and request","href":"/v4/compat-adapter/request"},{"title":"Sign-in and limits","href":"/v4/compat-adapter/sign-in"},{"title":"create: uploading contacts","href":"/v4/compat-adapter/create"},{"title":"delete and delete_phone_number","href":"/v4/compat-adapter/delete"},{"title":"details: daily export","href":"/v4/compat-adapter/details"},{"title":"Adapter account and field rules","href":"/v4/compat-adapter/account-settings"},{"title":"Differences from V2","href":"/v4/compat-adapter/differences"}]},{"group":"Setup","pages":[{"title":"Adapter accounts","href":"/v4/compat-adapter/accounts"},{"title":"Compatibility registry","href":"/v4/compat-adapter/registry"},{"title":"Fields and variables","description":"The request row field schema, V2 field forms, the agent variable map, fallback values, rl_today and signature variables.","href":"/v4/compat-adapter/registry-fields"},{"title":"Retry rules, saving and editing","href":"/v4/compat-adapter/registry-rules"}]},{"group":"Monitoring","pages":[{"title":"Adapter campaigns","description":"How a client request becomes a V4 campaign, how to find an adapter campaign, and what its card shows.","href":"/v4/compat-adapter/monitoring"},{"title":"Contacts, calls and reports","href":"/v4/compat-adapter/monitoring-calls"}]},{"group":"FAQ","pages":[{"title":"FAQ: passing variables to the agent","href":"/v4/compat-adapter/faq-variables"},{"title":"FAQ: no calls or calls are stuck","href":"/v4/compat-adapter/faq-queue"},{"title":"FAQ: hours, window and campaign day","href":"/v4/compat-adapter/faq-hours"},{"title":"FAQ: events before and after the call","href":"/v4/compat-adapter/faq-events"},{"title":"FAQ: sign-in and limits","href":"/v4/compat-adapter/faq-login"}]}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/v4/compat-adapter/registry-rules"}]}]},"basePath":"","title":"Retry rules, saving and editing - HubTalk AI","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}