Create Entity
Use the Create Entity action to create an entity in your Dialogflow account.
Before using the Create Entity action in your workflow, ensure that you create your Dialogflow agent.
Complete the following steps to use the Create Entity action in your workflow:
1. Drag the Create Entity action under Dialogflow to the canvas, place the pointer on the action, and then click or double-click the action. The Create Entity window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Dialogflow connector type, refer to Supported Dialogflow Connector Type.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Dialogflow connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Agent list, select an agent from your Dialogflow account.
7. In the Name field, provide the name of the entity. The entity name supports A-Z, a-z, 0-9, _ (underscore), - (dash) without any spaces.
8. In the Kind list, select the kind of entity type:
Select Kind Map to provide a single or multiple synonyms for each value.
Select Kind List to provide a single value for each synonym.
Select Kind RegExp to provide a single value for each synonym in regular expression format. You do not need to provide the synonym for every value.
9. Under the Entities section, provide the entities that must be associated with the entity type.
Select Form to provide inputs for individual input fields listed in the form, or select Assign JSON to specify a single JSON with all required inputs.
If you chose Form
a. In the Value field, provide the value of the entry.
b. In the Synonym field, provide a comma-separated list of synonyms for the specified value.
Click Add to add multiple entities. Click to delete any entity that you added.
If you chose Assign JSON
In the Entities field, enter all required inputs in the [{"value":"string", "synonyms":"string"}] format.
10. In the Auto Expansion Mode list, select Default Mode to enable automated expansion of the entity type. The default is set to Unspecified Mode, which indicates that automated expansion is disabled, by default.
11. In the Enable Fuzzy Extraction list, select true to enable fuzzy matching for the entity; otherwise, select false.
If you have set Kind to Kind RegExp and you set this to true, the action fails.
12. Click Done.
Output schema
Was this helpful?