Find KnowledgeBaseDocument by Id enables you to reference a knowledge base article dynamically and find that article based on a string ID at IVR runtime. For example, use this function to retrieve an article reference. Then, use the article reference in a Show Knowledge Article action to present the article.

Use one of the following expressions to configure your function:

  • FindKnowledgeBaseDocumentById(“your article ID here“): Looks up a knowledge base document from a knowledge base document ID and returns a KnowledgeBaseDocument value, if found.
  • FindKnowledgeBaseDocumentById(NOT_SET): Returns a NOT_SET KnowledgeBaseDocument for a NOT_SET input value.