Actions290
- Task Actions
- Direct API Actions
- CRM Actions
- User Actions
- SPA Actions
- Activity Actions
- Automation Actions
- Document Generator Actions
- Data Storage Actions
- Get Entity
- Add Entity
- Update Entity
- Delete Entity
- Get Entity Rights
- Get Entity Sections
- Add Entity Section
- Update Entity Section
- Delete Entity Section
- Get Entity Item
- Add Entity Item
- Update Entity Item
- Delete Entity Item
- Get Entity Item Properties
- Add Entity Item Property
- Update Entity Item Property
- Delete Entity Item Property
- Chat Actions
- User Field Actions
- File Actions
- User Field Config Actions
- Duplicate Actions
- Timeline Actions
- Disk Actions
- Upload File
- Download File
- Delete File
- Get File Info
- List Files
- Create Folder
- Delete Folder
- Get Storage Info
- Get Storages
- Get Storage
- Get Folders
- Get Folder
- Add Folder
- Update Folder
- Copy Folder
- Move Folder
- Rename Folder
- Get Files
- Get File
- Copy File
- Move File
- Rename File
- Share Item
- Get Shared Items
- Get Sharing Rights
- Update Sharing Rights
- Workflow Actions
- Status Actions
- Calendar Actions
- Chatbot Actions
- Events Actions
- Lists Actions
- Product Actions
- Open Lines Actions
- Telephony Actions
- Register External Call
- Finish External Call
- Hide External Call
- Show External Call
- Search CRM Entities
- Attach Call Record
- Get External Line
- Add External Line
- Update External Line
- Delete External Line
- Get Voximplant Statistics
- Get Voximplant Line
- Get Voximplant SIP Connector
- Get Voximplant SIP Line
- Add Voximplant SIP Line
- Update Voximplant SIP Line
- Delete Voximplant SIP Line
- Message Service Actions
- Notify Actions
Overview
The "Get Template" operation of the Document Generator resource in this Bitrix24 node allows users to retrieve a specific document template by its ID from the Bitrix24 platform. This is useful when you want to fetch the details or content of an existing document template for further processing, such as previewing, editing, or generating documents based on that template.
Common scenarios include:
- Automating document workflows where templates are dynamically selected and fetched.
- Integrating Bitrix24 document templates into other systems or processes.
- Validating or displaying template information before generating documents.
For example, you might use this node to get a contract template stored in Bitrix24, then fill it with client data in subsequent steps.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authenticating with Bitrix24: OAuth2 (recommended), Webhook (simpler), or API Key |
| Template ID | The unique identifier of the document template to retrieve |
| Options | Additional optional parameters; currently supports specifying an Access Token manually |
Output
The node outputs JSON data representing the retrieved document template. The structure typically includes all relevant template details as returned by the Bitrix24 API, such as template metadata, fields, and content definitions.
If the node supports binary data output (not explicitly shown here), it would represent the actual document file or related binary content. However, for the "Get Template" operation, the primary output is JSON describing the template.
Dependencies
- Requires authentication with Bitrix24 via one of the supported methods: OAuth2, Webhook URL, or API Key.
- Needs proper configuration of credentials in n8n corresponding to the chosen authentication method.
- Relies on Bitrix24's API endpoints for document template management.
Troubleshooting
Common issues:
- Invalid or missing Template ID will cause the API call to fail.
- Authentication errors if credentials are incorrect or expired.
- Network or permission issues preventing access to the Bitrix24 API.
Error messages:
- Errors returned from Bitrix24 API will be surfaced, often indicating invalid template ID or authentication failure.
- If
continueOnFailis enabled, errors are returned as part of the output JSON with error message and timestamp.
Resolutions:
- Verify the Template ID is correct and exists in Bitrix24.
- Ensure credentials are valid and have necessary permissions.
- Check network connectivity and API endpoint accessibility.
Links and References
- Bitrix24 Official API Documentation
- n8n Documentation on Creating Custom Nodes
- Bitrix24 Document Generator API section (refer to Bitrix24 docs for exact API calls related to document templates)