Create Intent

dialogflow.create_intent
ActionGoogle Cloudconnection required

Calls the Dialogflow API POST /v2/projects/{p}/agent/intents.

Create a Dialogflow ES intent with training phrases and text responses.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Dialogflow ES
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, language_code
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
display_name
Name the new intent gets in Dialogflow; not an id.
stringYes———
training_phrases
Example user utterances: JSON array or one per line.
arrayNo—array of string—
responses
Text responses: JSON array or one per line.
arrayNo—array of string—
language_code
Agent language (overrides connection).
stringNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
intent_id
string—
name
string—
display_name
string—
priority
number—
is_fallback
boolean—
{
  "display_name": "",
  "intent_id": "",
  "is_fallback": false,
  "name": "",
  "ok": false,
  "priority": 0
}

See Create Intent run in a workflow.

In a technical demo we add the Google Dialogflow ES connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.