Action

Answer Questions with Knowledge

Download .md

Answers questions about company policies and procedures, troubleshooting steps, or product information.

Reusable. Used by 6 of the 12 Fan_Agent topics.

Identity

FieldValue
Master labelAnswer Questions with Knowledge
Local developer nameAnswerQuestionsWithKnowledge
Source templateEmployeeCopilot__AnswerQuestionsWithKnowledge
Invocation targetstreamKnowledgeSearch
Invocation target typestandardInvocableAction
Confirmation requiredfalse
Show in progress indicatortrue
Progress messageGetting answers

Purpose

Answers questions about company policies and procedures, troubleshooting steps, or product information.

Examples:

  • "What is your return policy?"
  • "How do I fix an issue?"
  • "What features does a product have?"

The action streams a RAG response generated from Salesforce Knowledge articles and returns the summary plus citation sources.

Used by

Inputs

NameTypeRequiredUser inputPIIDescription
querytextYesYesNoA string created by generative AI to be used in the knowledge article search.
citationsUrltext (const "")NoYesNoThe URL to use for citations for custom Agents. Always empty in this bundle.
ragFeatureConfigIdtext (const "")NoYesNoThe RAG Feature ID to use for grounding this copilot action invocation. Always empty in this bundle.
citationsEnabledboolean (const false)NoYesNoWhether or not citations are enabled. Always false in this bundle.

Outputs

NameTypeDisplayableUsed by plannerDescription
knowledgeSummaryrichText (max 100000)YesYes (useHydratedPrompt = true)Rich-text summary of the information retrieved from the knowledge articles, with inline citations to those articles.
citationSources@apexClassType/AiCopilot__GenAiCitationInputNoYesSource links for the chunks in the hydrated prompt that's used by the planner service.

Dependencies

  • Salesforce Knowledge enabled in the org.
  • A knowledge index covering the topics the agent must answer (orders, deliveries, account, FAQ, etc.).

Reuse notes

This action is the canonical "ask a knowledge-base question" tool — drop it into any new topic that needs RAG. Same input/output shape regardless of topic.

Used in 1 agent

Used by (6 subagents)