N8N Tools - Typebot API icon

N8N Tools - Typebot API

Complete Typebot.io integration - Self-hosted chatbot builder with visual flows

Overview

The "Publish Typebot" operation in this node allows users to publish a specific Typebot chatbot, making it live and accessible for interaction. This is useful when you have finished building or updating a chatbot and want to deploy it so end-users can start using it.

Typical scenarios include:

  • Deploying a newly created chatbot after configuration.
  • Publishing updates made to an existing chatbot.
  • Automating the deployment process as part of a CI/CD pipeline for chatbots.

For example, after designing a customer support chatbot in Typebot.io, you can use this node operation to publish it automatically once all changes are finalized.

Properties

Name Meaning
Typebot ID The unique identifier of the Typebot to be published.
Additional Fields Optional extra settings (not typically used for publishing).

Since this operation mainly requires the Typebot ID, no additional fields are specifically relevant here.

Output

The output JSON contains the response from the Typebot API after attempting to publish the specified Typebot. It typically includes confirmation details such as status, updated Typebot metadata, or error messages if the publish action failed.

Example structure (simplified):

{
  "status": "success",
  "typebotId": "abc123",
  "published": true,
  "message": "Typebot published successfully"
}

No binary data is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Typebot API.
  • Needs the base URL and authentication token configured in the node credentials.
  • The workspace ID is also required internally to scope the request properly.

Ensure that the API key and tokens are valid and have permissions to publish Typebots.

Troubleshooting

  • Common issues:

    • Invalid or missing Typebot ID will cause the operation to fail.
    • Insufficient permissions or invalid API credentials may result in authorization errors.
    • Network connectivity problems can prevent reaching the Typebot API endpoint.
  • Error messages:

    • "Unknown typebot operation: publishTypebot": Indicates a misconfiguration or unsupported operation; verify the operation name.
    • Authorization errors like "401 Unauthorized": Check API keys and tokens.
    • "Typebot not found" or similar: Confirm the Typebot ID exists and belongs to your workspace.

To resolve errors, verify input parameters, ensure credentials are correct, and check network access.

Links and References

  • Typebot.io Documentation – Official docs for managing Typebots.
  • Typebot API Reference – Details on API endpoints including publishing.
  • n8n Community Forum – For troubleshooting and examples related to Typebot nodes.

Discussion