Bedrijfsdata icon

Bedrijfsdata

Get data from the Bedrijfsdata API.

Overview

The "Execute LLM Template" operation in the Bedrijfsdata node allows users to generate custom content by executing a predefined Large Language Model (LLM) template hosted on the Bedrijfsdata.nl platform. This operation is useful for automating content creation tasks such as generating company summaries, reports, or other text-based outputs based on dynamic input parameters.

Typical use cases include:

  • Creating tailored company profiles or summaries using specific company IDs.
  • Generating insights or textual data from website contents or search queries.
  • Automating report generation by feeding various parameters into an LLM template.

For example, a user might execute a "company_summary" template by providing a company ID to automatically generate a detailed summary of that company’s profile.

Properties

Name Meaning
Template ID (Required) The identifier of the LLM template to execute. This corresponds to templates configured in your Bedrijfsdata.nl Developers Platform account under "LLM templates". Example: company_summary.
Provider API Key (Required) Your API key credential to authenticate with the LLM model provider that the template uses.
Provider Endpoint (Conditionally required) The URL endpoint of the LLM model provider corresponding to the model used by your template. For example, a Google AI Platform endpoint URL.
Template Parameters (Optional) A collection of parameters to customize the template execution. These include:
Bedrijfsdata.nl ID: Specific company ID to provide company profile data.
Domain Name: Public domain to fetch website content.
Search Query: Text query to retrieve search snippets.
URL: Specific publicly accessible URL to fetch content from.

Output

The node outputs JSON data containing the result of the executed LLM template. This typically includes the generated textual content based on the template and input parameters.

  • The main output field is json, which holds the response from the Bedrijfsdata API's /llm endpoint.
  • The structure generally contains fields related to the generated content, status, and any metadata returned by the API.
  • There is no indication that this node outputs binary data.

Dependencies

  • Requires an active API key credential for authenticating requests to the Bedrijfsdata.nl API.
  • Depending on the LLM model used, you may need to specify a provider endpoint URL.
  • The node makes HTTP GET requests to the /llm endpoint of the Bedrijfsdata API.
  • Ensure network access to https://api.bedrijfsdata.nl/v1.2 and any specified provider endpoints.
  • No additional external libraries beyond n8n core dependencies are required.

Troubleshooting

  • Missing or invalid API key: The node requires a valid API key for the LLM provider. If authentication fails, verify the API key is correct and has necessary permissions.
  • Incorrect Template ID: Using a non-existent or misspelled template ID will cause the API to return errors. Confirm the template ID matches one configured in your Bedrijfsdata.nl account.
  • Provider Endpoint issues: If the provider endpoint URL is incorrect or unreachable, the request will fail. Double-check the URL format and network connectivity.
  • Empty or invalid template parameters: Providing incomplete or wrong parameters may lead to unexpected results or errors. Validate parameter values before execution.
  • API rate limits or service downtime: If the API returns rate limit errors or is temporarily unavailable, retry after some time or check service status.

Common error messages usually originate from the API response and should be handled by inspecting the error details returned in the node output or logs.

Links and References

Discussion