Creating Contact Using MEVA
Scenario: A new user is chatting in the webchat and the contact is created in the application after the user provides their basic information
Flow:
To design the flow we require,
Construction:
Click on the "+New" button in the Flows section.
Add a flow name, "Contact Creation".
Click on "OK".
In the Flowiz Builder page, click on the "Click to add node" area.
From the pop-up select the Choice node.
Configure the choice node(to check if the user is a guest or an existing user),
a. Add the name of the choice node - "check contact".
b. Add context-variable in the prompt, "{{input.contact.is_guest}}== False "
c. "Save" the node.
Click on the "Yes" node. From the pop-up select "Prompt-Respnse" node.
Configure the prompt-response node,
a. Add a name to the response node - "contact response".
b. Add a prompt, such as, "Welcome back! How can I assist you today? I'm here to help."
c. Save the node.
Click on the "No" node. From the pop-up select API node.
Configure the API node,
a. Add a name to the API node - "create contact".
b. Add the required URL.
c. Select "METHOD" as "POST".
d. Add required Headers.
e. Save the node.
"Save" the flow by clicking on the top-right screen.
Click on the "Publish" button to publish the flow.
The flow can be previewed by clicking on the "Preview" button on top-right of the page.