1

I need help. You need a "Bearer Token" to call functions, but unfortunately I can't find instructions on how to generate it from Watson Assistant. Would anyone please have a guide or an example? Thank you in advance for your help.

data_henrik
  • 16,724
  • 2
  • 28
  • 49
  • Where do you want to invoke a Cloud Function action? Are you aware of the instructions from https://cloud.ibm.com/docs/assistant?topic=assistant-dialog-webhooks#dialog-webhooks-dialog-node-callout ? – data_henrik May 06 '21 at 12:21
  • I cannot use webhook, because I want use more than 1 IBM cloud Function and in Watson is possible use only 1 webhook for 1 assistant – Vašek Brožek May 07 '21 at 05:45
  • 1
    Still you could use webhook. I implemented a "dispatch" webhook which then calls out to the right functions and REST APIs. The webhook is a Cloud Functions action. – data_henrik May 07 '21 at 06:20

0 Answers0