Skip to content

Connector Overview

With the connector set up, you describe a workflow in plain language and the assistant writes, tests and fixes it with the tools below. Every tool calls FlowMint’s REST API under /wp-json/flowmint/v1/connector/, as the user who generated the connection.

Every tool needs the flowmint_manage_workflows capability, which administrators have, and the connector switched on under FlowMint Workflows → Connector. The preflight check works with the switch off, so it can report that the connector is disabled.

ToolWhat it does
flowmint_preflightReports the plugin version, whether the connector is on, whether Promptless Forms and Action Scheduler are active, the connected user and permission, which credentials are set, the paths a workflow can read, and a link to the workflow language reference.
ToolWhat it does
flowmint_list_step_typesEvery step type on the site, with its settings and output.
flowmint_get_step_typeOne step type in full.
flowmint_list_templatesThe email template files in fmw-templates.
flowmint_get_templateOne template’s content.
ToolWhat it does
flowmint_list_workflowsThe workflows, without their definitions. Filter by form, enabled or managed_by.
flowmint_get_workflowOne workflow with its full definition.
flowmint_create_workflowCreates a workflow. Workflows made through the connector are tagged connector:cowork.
flowmint_update_workflowChanges the title, enabled state or definition. A new definition replaces the old one entirely.
flowmint_delete_workflowDeletes a workflow. Its runs stay unless cascade is true.
flowmint_test_workflowValidates a saved workflow’s definition, or a new one for it, without running anything.
ToolWhat it does
flowmint_list_runsRuns, filtered by workflow, form, entry, status or date.
flowmint_get_runOne run with every step’s status, recorded config, output and error.
flowmint_replay_runRuns a finished run again as a new run.
ToolWhat it does
flowmint_list_credentialsThe four credential keys and whether each is set. Never the values.
flowmint_test_credentialTests the Drive or Printavo credential.
  • Ask the assistant to run flowmint_preflight first and read the workflow language reference it links to.
  • Have it create new workflows with enabled false, test them, then enable them. A workflow created without enabled is saved disabled.
  • Point it at flowmint_list_workflows with managed_by when a site has workflows its owner maintains by hand.
  • Create the Promptless Forms form before the workflow that listens to it; saving checks that the form exists.
  • Store, change or delete credentials, or write templates. Those use the REST API directly; see Managing credentials and Email steps.
  • Run a workflow on demand, or cancel a run. A form workflow runs on a submission, a scheduled one on its timer, and a finished run can be replayed.
  • Add new kinds of steps. Step types come with the plugin.
  • Act beyond the connected user’s permission.