DoubleX IA OSDocs

CLI › Commands

Workspace

Funnels, boards, cards, contacts, search and links from the terminal.

Commands for Customers, Support and Projects. The same access rules as the screens apply.

Terminal
doublex workspace spaces --module crm
doublex workspace space-create --module projects --name "Site novo" --code SITE
doublex workspace board brd_123
doublex workspace card-create spc_123 --title "Plano anual" --value 4800 --due 2026-12-15 --contact ctt_123
doublex workspace card-update wit_456 --done --comment "Contrato assinado"
doublex workspace card-move wit_456 --column col_789
doublex workspace contact-save --name "Joana Lima" --email [email protected]
doublex workspace search "renovação de contrato" --types work_item,contact
doublex workspace today
doublex workspace find "Acme"
doublex workspace link work_item:wit_456 contact:ctt_123 --rel deal_of
doublex workspace related company:cmp_1 --depth 2
doublex workspace related work_item:wit_456 --timeline

workspace today lists what needs you today and workspace find searches everything, including the Brain and "everything about" the customer. Records are written as type:id (e.g. contact:ctt_123, work_item:wit_456). Money in currency units (--value 1500.50). Use --json for the full output.

Customers (CRM)#

Terminal
doublex workspace deals spc_123 --no-next-action          # deals without a next step
doublex workspace deals spc_123 --follow-up-due --owner usr_1
doublex workspace card-update wit_456 --next-action "Call to close" --next-at 2026-12-03T09:30 --tags priority
doublex workspace card-update wit_456 --lost-reason "Price"
doublex workspace card-update wit_456 --chance 70          # chance to close set by hand; --chance auto goes back to the calculation
doublex workspace forms                                    # forms and each one's public link
doublex workspace import contacts.csv --entity contact     # shows the mapping and the preview
doublex workspace import contacts.csv --entity contact --tag fair --yes
doublex workspace import-undo imp_123

An import never goes straight in: without --yes, it shows where each column goes and how many rows are new, completed or have problems. A contact with the same e-mail and a company with the same tax ID are not duplicated; only empty fields are filled. The country column (code or name, such as "MX" or "Mexico") sets the tax ID rule: CNPJ/CPF is checked for Brazil, and each other country keeps its own ID (RFC, EIN, VAT…). The --next-at date uses your computer's time zone.

Support#

Terminal
doublex workspace conversations --filter mine           # my open conversations
doublex workspace conversations --filter overdue        # first reply past the deadline
doublex workspace conversations --channel portal --category Problem   # from the client portal, category Problem
doublex workspace conversation cnv_123                  # the whole conversation
doublex workspace reply cnv_123 "It's fixed, could you check?"
doublex workspace reply cnv_123 "VIP customer, watch the deadline" --note

A reply without --note reaches the customer by the widget or by e-mail, in the same thread.

Projects#

Terminal
doublex workspace tasks                                  # my tasks across all projects
doublex workspace projects --status active               # portfolio with progress and hours
doublex workspace tasks spc_123 --status open            # a project's tasks
doublex workspace timer start wit_456                    # starts the timer (stops the previous one)
doublex workspace timer stop
doublex workspace log-time wit_456 --minutes 90 --note "kickoff meeting"
doublex workspace hours --from 2026-11-01 --to 2026-11-30 --group-by project,person
doublex workspace kpis --company cmp_789
doublex workspace kpi-set kpi_1 --period 2026-10 --value 420000

Money values only show for people the company allowed. Closed periods don't accept new or corrected entries.

Management#

Terminal
doublex workspace report sales                         # this month's sales: funnel, won, conversion, salespeople
doublex workspace report support --period 30d          # support in the last 30 days, per inbox
doublex workspace report projects --space spc_123      # one project: progress, hours and workload
doublex workspace report sales --from 2026-10-01 --to 2026-10-31 --json

Only for people who manage a funnel, inbox or project (and admins), with the spaces they manage. Each number comes with the previous period's; money comes per currency.

Automations#

Flows of the Automations module: a trigger and its steps (wait, condition, agent, Customers actions, marketing e-mails, notices), built on the canvas or from a description.

Terminal
doublex workspace automations                                      # status, records inside, done and AI cost this month
doublex workspace automations show flw_123                         # blocks and arrows, with the canvas link
doublex workspace automations draft "when a contact comes from the form, the agent classifies them; hot becomes a deal and a heads-up for the salesperson, cold gets three e-mails over two weeks"
doublex workspace automations draft "..." --save                   # creates it as a draft (off)
doublex workspace automations draft "wait 2 days before the e-mail" --flow flw_123 --save   # edits that automation's draft
doublex workspace automations templates                            # ready-made automations
doublex workspace automations templates --create cold_nurture      # creates a template as a draft
doublex workspace automations publish flw_123                      # turns it on (an incomplete block comes back with the error)
doublex workspace automations pause flw_123
doublex workspace automations runs flw_123 --status approval       # runs waiting for approval

draft saves nothing without --save: it shows the blocks, the arrows and what is still missing. The AI only uses blocks from the library and the funnels, stages, lists, forms, inboxes, projects and agents you can see, and it uses credits (category "Create with AI"). Building and editing: admins and people who manage a funnel, inbox or project. Turning one on does not change the sending rule: the first e-mail or message each automation sends outside the company waits for a person's approval.

Automations between layers#

Terminal
doublex workspace automations recipes                              # each recipe: on/off, runs and last result
doublex workspace automation deal_won_project --on                 # won deal opens a project
doublex workspace automation conversation_task --on --project spc_123
doublex workspace automation form_meeting --on --stage default     # "Qualified" stage of any funnel
doublex workspace automation task_done_notify --off

Only admins turn them on and off. Recipes: deal_won_project, conversation_task, task_done_notify (on by default) and form_meeting.