Zenvia Conversion Settings

First, you'll need to integrate Flow in Zenvia Conversion. For more information about how to do this, see this article. If your Flow is correctly integrated, you'll see an "OK" in green, as shown below:

To see the API Key for this integration, click the Flow icon and you'll see the screen below:

In the next step, we'll use the API Key to set up the plugin in Flow.

Setting up the Integration in Flow

Access the flow you'd like to add the Zenvia Conversion plugin as in the example below:

Click the icon below to add the Zenvia Conversion integration to the Flow.

Select the Zenvia Conversion Plugin option, as shown in the image below:

You'll see the component screen:

Back in Zenvia Conversion, click on the button next to the API Key to copy it:

Finally, simply paste the API Key in the Zenvia Conversion Token Flow field:

Still on this same screen, maximize the More Parameters window by clicking on the icon to the right:

You'll see the User telephone (optional) field. Add the #{telephone} variable, as shown below:

The rest of the options on this window can be configured as desired according to your needs. Click the OK button to complete the setup:

In addition to these setting, you'll also need to edit the "Initial Event".

Configuring the Initial Event

In your flow, click on the pencil button in the upper right of the Initial Event to edit it:

In the editing window, add the variables that will be used in the flow, as shown:







To make sure the syntax is correct, we recommend copying and pasting the variables from the table above.

To confirm your changes, click "OK":

Finally, the last change we must make is to add a Json code.

Setting up JSon

Click the arrow located on the right side of the flow:

In the window that opens, add the following JSon to the end of the code:

1 2 "defaultConversationalChannel": "WHATSAPP", "historic": true

To ensure that the syntax is correct, we recommend copying the snippet above and pasting it into your Flow code.

Check the image below for the place where your Json code should be:

After saving your settings, your integration with Zenvia Conversion will be working correctly.

Related Articles:

Did this answer your question?