I'm assuming the steps are:
- Add webhook integration into botpress, then set a configuration variable in the chatbot to 'BPhook'
- Create a webhook in GHL, and then set a configuration variable in the chatbot to 'GHLhook'
in execute code:
- POST to 'GHLhook' when I want to send a message to GHL, and in GHL, I would want to post to the BPhook when a customer responds.
- Set a 'toGHL' variable that will be used as the message to the customer that botpress will send to GHL. And vice versa when GHL POSTS to botpress, have a variable that is the client response that is sent to botpress.
Not sure what to say in execute code to make the webhooks fire. Would be nice to have a "webhook card" that is all set up for a non coder and there is no documentation