What is the “Tag” field in a Dialogflow CX webhook?

I got this question from a student

I want to create a wehbook for my bot. I followed your instructions from https://botflo.com/how-to-debug-dialogflow-python-webhook-using-ngrok/ and completed all of the stages.However, step 14 differs from the tutorial. I have a “Tag” to fill and I’m not sure what to place in there.

The “Tag” field is similar to the Action field in Dialogflow ES.

When you have multiple intents which are handled by a webhook in ES, the Action field is used to branch the code logic.

You can see an example of this in the Python webhook tutorial.

In the same way you can use the “Tag” field to tell your webhook what code logic it should run.

What should you use in the “Tag” field?

I suggest using some value which represents the Intent Transition Route.

Note: This is my old website and is in maintenance mode. I am publishing new articles only on my new website. 

If you are not sure where to start on my new website, I recommend the following article:

Is Dialogflow still relevant in the era of Large Language Models?

Leave a Reply