cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
910
Views
0
Helpful
4
Replies

Integration of webhook with webex bot is not responding

shrwnaik
Cisco Employee
Cisco Employee

Hi Team,I have created webhook to integrate it with webex bot,

Bot is responding properly when I ping it,

but if someone from the team ping the bot its not responding.

Can someone help me out on this,I am not sure where I am going wrong

4 Replies 4

mparra.fusionet
Level 1
Level 1

Hi @shrwnaik  & @Raffaele Lagana 

Same topic was covered on the link below, it seems Cisco designed for bots not to get webhook notifications on a space where you have the bot and other users, only invoking the bot like @bot would get the webhook triggered(because the bot was directly triggered), can you please upvote the aha.idea request (please tell your friends to the same) to have this behavior changed:

https://ciscocollabcustomer.ideas.aha.io/ideas/WXCUST-I-18912

 

Original link:

https://community.cisco.com/t5/webex-for-developers/webhook-only-triggers-when-bot-is-tagged-unable-to-monitor-all/m-p/5253806

Raffaele Lagana
Cisco Employee
Cisco Employee

Who's token was used to create the webhook? Also, is it a messages:created webhook or something else?
Generally, the bot token should be used to create the webhook, so that it can respond to any messages it receives (note that in group spaces the bot needs to be @mentioned in the message, otherwise it won't see it).

Sounds like possibly the webhook was created with your user token instead of the bot token.

I used bot's token only. For resource and event I have filled it "all". 

 

might need a support ticket to check this further then. Can you email devsupport@webex.com and share the Webhook JSON along with the bot email that you're working with?

Also, please share details on how you tried to trigger the webhook (for example, "added the bot to a group space and then another user @mentioned the bot in a message"... something like this)