SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Why Is the JSON Output Format Unavailable for Selection in Custom Operators?

Question

Why is the Output format setting locked to Text and unable to be changed to JSON when editing a Custom Operator in Twilio Conversational Intelligence (classic)? 

 

Product

Twilio Conversational Intelligence

 

Environment

Twilio Console

 

Answer

The Output format setting (Text vs. JSON) cannot be modified on a Language Operator once it has been created. This behavior is by design to protect active downstream integrations such as webhooks, CRMs, or analytics pipelines which depend on a fixed payload schema once an operator is active.

To output operator results in JSON format, you must create a new Custom Operator and select JSON during initial creation:

  1. In the Twilio Console, navigate to Conversational Intelligence (classic) > Intelligence Services.

  2. Select your service and click the Language Operators tab.

  3. Click Create custom operator.

  4. Expand Advanced Settings.

  5. Select JSON under Output format before saving the operator.

 

Additional Information

While structural parameters like Output format and Operator Type are immutable once saved, you can still update other operator settings at any time, including the operator name, prompt instructions, and training examples.

Have more questions? Submit a request
Powered by Zendesk