
Custom Fields Option in User input flow in Multiple Choice option button label
Raj
I am building a dynamic integration system for a WhatsApp chatbot. The goal is to create a flow where:
A user types a specific keyword , Based on the keyword, the chatbot uses an HTTP API to fetch data and stores this data in custom fields. , The chatbot then displays the fetched data as a list (using interactive buttons or a list), The user selects an option from the list, Once the selection is made, the chatbot sends the selected value to another HTTP API to fetch more details and displays the result in a text message.
The challenge I am facing is:
1. When using interactive buttons or lists, I cannot pass the selected value to another HTTP API.
2. While using a user input flow, I cannot display the custom field values as options for the user to select.
Example Use Case: Order Tracking Bot
1. A user types the keyword to where is my order.
2. The chatbot sends the user’s mobile number to my WooCommerce website using an HTTP API. The response contains all the available order IDs, which I store in custom fields.
3. I want to display these order IDs as a list for the user to choose from (using interactive buttons, a list, or any other suitable method).
4. Once the user selects an order ID, the chatbot should pass that selected value to another HTTP API to fetch the order tracking details.
5. The order tracking details should then be shown as a text message.
Issues:
1. Interactive Buttons or List: I cannot send the selected value (order ID) to an HTTP API.
2. User Input Flow: I cannot display the values stored in custom fields as options for selection.
Please provide a solution to either:
Enable sending the selected value from an interactive button or list to an HTTP API. or Allow custom field values to be displayed dynamically in a user input flow.
Thank you!
A user types a specific keyword , Based on the keyword, the chatbot uses an HTTP API to fetch data and stores this data in custom fields. , The chatbot then displays the fetched data as a list (using interactive buttons or a list), The user selects an option from the list, Once the selection is made, the chatbot sends the selected value to another HTTP API to fetch more details and displays the result in a text message.
The challenge I am facing is:
1. When using interactive buttons or lists, I cannot pass the selected value to another HTTP API.
2. While using a user input flow, I cannot display the custom field values as options for the user to select.
Example Use Case: Order Tracking Bot
1. A user types the keyword to where is my order.
2. The chatbot sends the user’s mobile number to my WooCommerce website using an HTTP API. The response contains all the available order IDs, which I store in custom fields.
3. I want to display these order IDs as a list for the user to choose from (using interactive buttons, a list, or any other suitable method).
4. Once the user selects an order ID, the chatbot should pass that selected value to another HTTP API to fetch the order tracking details.
5. The order tracking details should then be shown as a text message.
Issues:
1. Interactive Buttons or List: I cannot send the selected value (order ID) to an HTTP API.
2. User Input Flow: I cannot display the values stored in custom fields as options for selection.
Please provide a solution to either:
Enable sending the selected value from an interactive button or list to an HTTP API. or Allow custom field values to be displayed dynamically in a user input flow.
Thank you!