PDP Workflow
The PDP flow is triggered when a user enters the conversation from a Product Details Page (PDP) instead of the home page.
- PDP flow in WhatsApp is triggered:
- If “is_first_message = true”
- Entity extraction =
product_name
- Entity extraction =
- If “is_first_message = false”
- Intent detected =
get_info
- Entity extraction =
product_name
- Intent detected =
- If “is_first_message = true”
- PDP flow for the widget is triggered if:
- page URL mapped in entities.yml file under the product name, intent detected on the bot will be
pdpflow
- page URL mapped in entities.yml file under the product name, intent detected on the bot will be
1. Implementation​
What template/text message can be used to trigger the PDP flow in WhatsApp?
The default template used is:
Hey! I want to know about <product name>
In case the default template is not used, train the intent get_info with the new template.
info
đź’ˇ The entry message for WhatsApp has to include the product name.
How is the entry message for the widget different?
The template in the case of the widget can be customized through the backend. No training is required because along with the message product URL is sent to the dashboard
What is the column pdp_utterance used for?
The column is found in the Product Utterance sheet, and it is used to include the text that is displayed along with the product card.
It is considered best practice to maintain that column for the top products!
How do I add buttons that are displayed with the product card?
This can be done from the Card Buttons sheet in the company G-Sheet.
- Go to
Card Buttons
sheet in company G Sheets. - Update three columns namely:
- Tag : use “show_product_card_buttons” as a slug
- Button utterance: the text displayed on the button (c)
- Button payload: the actual intent slug in use. Check the intents and their corresponding slugs here
- Go to