Hello everyone,
I have the 360Dialog Whatspp API, and the webhook is set up for my API, which is working normally. It receives messages and status notifications and responds with 'OK 200'. I want to create a bot in my webhook handler that can automatically reply to inbound messages based on what the user has sent. To create a conversation flow, I need to be able to create a session for a specific user. However, when I try to create a session in my program, the session gets updated with each new message, and the session values from the previous request are lost. I would like assistance in understanding how to maintain a session for a specific user across multiple requests, or if there is another approach to configure the webhook for creating a user experience. If anyone can help me understand why my session goes to 'none,' it would be greatly appreciated.
The python & flask code is attached for your reference.
Ladak
Budget: $15
Posted On: May 30, 2023 08:28 UTC
Category: Back-End Development
Skills:Python, Flask, Django, API, Meta Description
Country: Pakistan
click to apply
I have the 360Dialog Whatspp API, and the webhook is set up for my API, which is working normally. It receives messages and status notifications and responds with 'OK 200'. I want to create a bot in my webhook handler that can automatically reply to inbound messages based on what the user has sent. To create a conversation flow, I need to be able to create a session for a specific user. However, when I try to create a session in my program, the session gets updated with each new message, and the session values from the previous request are lost. I would like assistance in understanding how to maintain a session for a specific user across multiple requests, or if there is another approach to configure the webhook for creating a user experience. If anyone can help me understand why my session goes to 'none,' it would be greatly appreciated.
The python & flask code is attached for your reference.
Ladak
Budget: $15
Posted On: May 30, 2023 08:28 UTC
Category: Back-End Development
Skills:Python, Flask, Django, API, Meta Description
Country: Pakistan
click to apply