Using Web Hook as a channel in Synchronous and Asynchronous Integration modes / How to use and integrate Kore API's

@chatbotcognigy56,

Please send us the appropriate screenshots.

Regards,
Yoga Ramya

This is resolved now, thanks for the response

Hi @Subrahmanyam- I followed the same approach for the asynchronous method , but looks like the webhook call fires the request twice , the same request is firing twice when we tested from postman

webhook

@swagata.sengupta @Subrahmanyam

I have an enterprise bot that expects to receive the below customData fields through WEB/Widget SDK channels

KoreSDK.chatConfig.botOptions.botInfo.customData.firstName = firstName;
KoreSDK.chatConfig.botOptions.botInfo.customData.lastName = lastName;
KoreSDK.chatConfig.botOptions.botInfo.customData.login = login;
KoreSDK.chatConfig.botOptions.botInfo.customData.email = email;
KoreSDK.chatConfig.botOptions.botInfo.customData.phone = phone;

I also need to invoke the same bot through Synchronous Webhook channel and pass the same fields identifying the user. How do I pass the customData through the POST message payload

image

@harshal.mulherkar At the same level as message, from etc. pass on any other name value pair. They all should be available under BotUserSession lastmessage key.