Basecamp icon

Basecamp

Interact with Basecamp API

Actions119

Chatbot → Update a Chatbot

AI-generated

Overview

This node operation updates an existing chatbot integration within a specified project and chat in Basecamp. It allows users to modify the chatbot's service name and command URL, which are used to invoke queries and commands and to specify the HTTPS URL Basecamp calls when the bot is addressed. This operation is useful for managing chatbot configurations dynamically within Basecamp projects and chats.

Use Case Examples

  1. Updating the service name of a chatbot to change how it is invoked in a project chat.
  2. Changing the command URL of a chatbot to point to a new endpoint for handling bot commands.

Properties

Name Meaning
Project ID The ID of the project (bucket) where the chatbot is located, used in the API endpoint path.
chatId The ID of the chat or campfire within the project, used in the API endpoint path.
integrationId The ID of the chatbot integration to update, used in the API endpoint path.
Service Name The name of the chatbot service used to invoke queries and commands. Must not contain spaces, emojis, or non-word characters.
Chatbot Fields Fields related to the chatbot configuration, currently supporting updating the Command URL which Basecamp calls when the bot is addressed.
Return Full Response Whether to return the full HTTP response including status code, headers, and body instead of only the response body.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • id - The unique identifier of the updated chatbot integration.
  • service_name - The updated service name of the chatbot.
  • command_url - The updated command URL that Basecamp calls when the bot is addressed.
  • statusCode - The HTTP status code of the response if full response is returned.
  • headers - The HTTP headers of the response if full response is returned.
  • body - The body of the response containing the updated chatbot details.

Dependencies

  • Basecamp API with OAuth2 authentication

Troubleshooting

  • Ensure that the Project ID, chatId, and integrationId are correct and correspond to existing resources in Basecamp to avoid 404 errors.
  • Verify that the Service Name does not contain spaces, emojis, or non-word characters to prevent validation errors.
  • If the command URL is invalid or unreachable, the update may fail or the chatbot may not function correctly.
  • If 'Return Full Response' is enabled, the output will include HTTP status and headers which may require additional handling in workflows.

Links

Discussion