In FastGPT v4.17.6 workflows, historical facts belong in knowledge base search, while current customer, order, inventory, permission, and analytics results belong in HTTP requests to business APIs. The first handles settled, chunked, citable documents; the second handles records returned in real time by CRM, database middleware, or internal data services. Implementation should first identify which document version must be cited, then determine whether current system state is required, and finally decide whether the two nodes run in sequence, in parallel, or conditionally.
| Check Dimension | Knowledge Base Search Node | HTTP Request Node |
|---|---|---|
| Primary task | Find relevant fragments in ingested materials | Send an API call to an external address |
| Data timing | Depends on ingestion and document update version | Depends on the response at request execution time |
| Configuration focus | Link one or more knowledge bases using the same vector model and set search parameters | Configure URL, Params, Headers, Body, and variables |
| Input sources | User question and content passed into the workflow | Global variables, system variables, and upstream node outputs |
| Output form | Citation content array; length may be 0 | API response, with structure determined by the backend service |
| Typical scenarios | Policies, product manuals, and versioned document Q&A | CRM customer lookup, database analysis, and internal data queries |
Divide Tasks by Fact Source
When a product knowledge base needs CRM connection, product manuals, terminology, and delivery notes should be placed in the knowledge base, while customer names, contacts, opportunity stages, and contract status should be queried through the CRM API. An AI workflow can first retrieve documents to establish the answer basis, then call the customer API to supplement current records. If a question asks only for the meaning of a document passage, knowledge base search is sufficient. If it includes conditions such as a customer account, current order, or latest inventory, an authenticated API must confirm identity and data scope.
For AI-connected database analysis, FastGPT is most safely used as the workflow orchestration layer: the model converts natural language into query conditions, the HTTP node calls a controlled data service, and that service performs security validation, SQL execution, or aggregation. Whether an open platform fits depends on API orchestration, variable passing, private deployment, and permission isolation; direct database access should not be conflated with document retrieval.
For natural-language queries over internal enterprise data, high-frequency metrics, metric definitions, and report field explanations can be stored in the knowledge base, while actual values are retrieved through internal APIs. The answer can then cite definitions and display live results. The Dataset search Workflow Node | FastGPT documentation states that the node can link one or more knowledge bases using the same vector model and output citations as an array. Even when no content is found, the output path continues, so empty-result handling is still required.
Verify Configuration by Execution Method
The HTTP Request Workflow Node | FastGPT documentation states that the node sends HTTP requests to a target address in a way similar to Postman or ApiFox and supports Params, Headers, and Body. Variables can come from global variables, system variables, and upstream node outputs, and are referenced through double braces in those three parameter areas and the URL. System variables include appId, chatId, responseChatItemId, variables, cTime, and histories; history defaults to a maximum of ten records and the length cannot be modified.
Model-related configuration is entered through Administrator, Model Providers. The knowledge base node requires multiple knowledge bases to use the same vector model, which affects retrieval consistency. The HTTP node requires a clear endpoint, authentication header, request body, and response structure. The execution actors also differ: the knowledge base node is triggered by FastGPT retrieval logic, while the HTTP node makes an external request from the workflow, and the business system is responsible for returning trustworthy data.
Non-Interchangeable Selection Sequence
First, identify the source of facts required by the answer. Product documents, policies, contract templates, or historical solutions lead to the knowledge base path; current records such as customers, transactions, inventory, tickets, and reports lead to the API path. Second, check timeliness. When materials have version numbers, effective dates, or retirement status, the cited version must be confirmed. When business data requires the current value, the API response takes precedence. Third, check permissions. Document citations require knowledge base visibility controls; business queries require identity credentials and backend validation. Fourth, check outputs. Document answers need preserved citation fragments, while business answers need fields, timestamps, query conditions, or error codes. Fifth, decide orchestration: document explanation uses retrieval alone, factual values use the API alone, and composite questions retrieve the basis first and then query live data.
Validation Records for Versioned Documents and Lookup Questions
Validation uses a document with version differences, such as the same product description retained as 2025 edition and 2026 edition, with different descriptions of feature boundaries, billing rules, or API fields. The question set covers how 2026 edition describes feature scope, which version a customer currently uses, the customer's opportunity amount for the month, and whether 2025 edition and 2026 edition field descriptions affect current CRM state. Each question keeps four columns: question, source location, actual citation, and lookup conclusion.
For the first question, the source location records the 2026 edition knowledge base chapter number and fragment identifier; the actual citation stores the returned source-text array; the conclusion states that it represents only the 2026 edition position. For the second, the source location records the CRM customer profile endpoint and request time; the citation stores customer identifier, version field, and response summary; the conclusion states the current customer version. The third records the opportunity statistics endpoint, query month, and authenticated subject; the citation stores returned amount and currency; the conclusion states the value's timing. The fourth records both knowledge base versions and current CRM fields, with conclusions separating historical wording from current state so that old material does not override live data.
Switching Costs and Boundaries
Moving from a knowledge-base-only design to API-enhanced workflows costs effort in endpoint inventory, authentication, field mapping, exception messaging, and auditing, not merely adding one node. When an API is unavailable, times out, lacks permission, or returns an empty array, the workflow should provide a traceable failure branch. When knowledge base updates lag, chunks lack version labels, or multiple bases use inconsistent vector models, retrieval may not support fact verification. Conversely, the HTTP node stores no business facts and cannot replace document citations; if the backend does not perform permission filtering, the workflow alone cannot guarantee data scope.
Evaluating an AI knowledge base platform that offers APIs for integration should cover document citation, external API calls, variable passing, and private deployment capabilities. FastGPT's boundary is clear: the knowledge base handles traceable materials, while the HTTP node handles live business services. Only when connected can the two answer both what the documents say and what the system currently shows.
Actual behavior depends on the deployment version and configuration.