A flow can run as one 3CX call script plus one data file, flow.json, instead of as separate menus and queues. The script itself never changes; changing the flow means writing a new flow.json. In the web app this lives behind Call script… in the toolbar.
Requirements: 3CX V20 Update 5 or newer, on-premise or self-hosted. 3CX-hosted PBXs do not support call scripts.
Queues, ring groups and menus the flow sends calls to must already exist in 3CX. A flow with steps tagged new has to be published natively first (sandbox or live), or use existing objects instead.
flow.json, exported from the designer.flow.json, finds the branch for the dialled number, plays the prompts, reads the keys and transfers the call.runner.log, next to flow.json.Open the flow and choose Call script…. The dialog “Run as a 3CX call script” has a Sandbox test / Live switch at the top and shows the current script for that mode, if any: its name, what it runs for, when it was deployed and by whom, and whether it is Up to date, whether “The flow changed since it was deployed”, or whether there is an “Older runner on the PBX, deploy again”.
Test first. With Sandbox test selected, press Deploy. The script gets a number in the sandbox range and the dialog says “Dial 8905 from an extension to test”. Nothing else changes.
Then live.
flow.json and the script to 3CX, waits for the compiler (“Deploying and waiting for the 3CX compiler…”) and reports, for example “44227232 now runs this flow”.flow.json is replaced.If the script is gone from 3CX the dialog says “Not found on the PBX” and offers Forget this script, which clears the reference from the flow.
The bottom of the same dialog, “Install by hand on a 3CX without the integration”, has Download flow.json and Download runner script. It also lists the numbers and prompts the flow uses.
Example: Nordic Bikes has two flows, Sales (number 44227232 to queue 800) and Support (number 38203809 to queue 801). Two flows means two call scripts with the same code and a different flow.json in each.
flow.json for each flow. Download it with Live selected; the sandbox version points at sandbox numbers.jw_sales, paste the runner script, save, wait for Compiled.flow.json. The name must be exactly flow.json.jw_support with the Support flow.json and number 38203809.…\Ivr\Prompts\Callflows\jw_sales\runner.log if something is off.Changing a flow later: replace flow.json in the script’s Files list. No recompile, no restart; the next call uses the new file. When JEDWare ships a new runner, paste the new script into every call script; the flow.json files stay.
Next: Troubleshooting.
We use cookies and similar technologies to operate and improve our website, analyse website usage, and support functionality and marketing. You can choose which categories you consent to.