Actions23
- Typebot Actions
- Chat Actions
- Result Actions
- Workspace Actions
Overview
This node operation generates a secure upload URL for file uploads within the Typebot chat environment. It is useful when you want to allow users to upload files during a chat session, ensuring that the files are uploaded directly to a storage service via a pre-signed URL without handling the file data through your server.
Typical use cases include:
- Enabling users to submit documents, images, or other files as part of their interaction with a chatbot.
- Integrating file upload capabilities in conversational flows where the bot needs to process or store user files.
- Controlling file size limits and naming conventions for uploaded files.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Collection of optional parameters to customize the upload URL generation: |
| - Filename | Custom filename to assign to the uploaded file. |
| - File Size Limit MB | Maximum allowed file size in megabytes (default is 10 MB). |
The "Additional Fields" property allows specifying these options to tailor the upload URL behavior.
Output
The node outputs a JSON object containing the generated upload URL and any related metadata required to perform the file upload. This URL is typically a pre-signed link that clients can use to upload files directly to the storage backend securely.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Typebot API.
- Needs configuration of the Typebot API base URL and authentication token.
- The node internally calls a proxy endpoint hosted at
https://n8ntools.io/api/v1/proxy/typebotto interact with the Typebot API.
Troubleshooting
- Error: Unknown chat operation — Ensure the operation selected is exactly "Generate Upload URL" under the Chat resource.
- Authentication errors — Verify that the API key and token credentials are correctly configured and have sufficient permissions.
- Invalid filename or file size limit — Confirm that the filename is a valid string and the file size limit is a positive number.
- Network or proxy issues — Check connectivity to the proxy endpoint and that no firewall or network restrictions block the request.
Links and References
- Typebot Documentation – Official docs for Typebot platform features.
- Pre-signed URLs Concept – General explanation of upload URLs (example from AWS S3).
- n8n HTTP Request Node – For understanding how HTTP requests are made in n8n nodes.