empirio.ai
MCP & API

CLI

The terminal replaces the interface wherever that is quicker. Export answers to a file overnight, download charts for the report, create surveys, and check their status.

Workflows you can build with it

Each example is a workflow you can set up with an automation service, an AI assistant or your own application.

  • Export overnight

    A scheduled run requests the export and files the download. For the report that has to be ready on Monday without anyone clicking.

  • Sign in without a browser

    A build environment authenticates from an environment variable instead. For pipelines where nobody can approve a login window.

  • Notice a failure in the script

    A failed command exits non-zero and prints the reason in plain words. For jobs that should stop rather than continue on half the data.

  • Stand up an environment

    A script recreates the same surveys from the same definitions. For test environments meant to match the real one without anyone rebuilding them.

What the integration transfers

Each point is a separate example in the direction of the arrow. Configure each workflow independently and link the relevant survey for actions on an existing survey.

empirio.ai → CLI

  • Exports as CSV, XLSX, JSON or SPSS, requested by command
  • Tables to read on screen, JSON when a script reads instead
  • Your account, plan and granted scopes in one command

CLI → empirio.ai

  • Surveys created and edited, with JSON as the argument
  • Publishing and closing as a step in a pipeline
  • Questions and answer options of an existing survey brought in from a file

How to set it up

Install with “npm install -g @empirio-ai/cli” on Node 20 or newer. “empirio login” signs in through the browser, while unattended runs read an API key from EMPIRIO_API_KEY instead. “empirio whoami” names the account, the plan and the rights of the key in use, for when a command fails on a missing permission. There is deliberately no webhook command, and every command is documented in full.

Ready to get started?

Create your first survey in under 60 seconds. Our AI does the rest.