HomeTrang chủ · IntegrationsTích hợp · n8n nodeNode n8n
Idemcore for n8nIdemcore cho n8n
Add chat-with-receipt, and offline receipt checks, to an n8n workflow.Thêm chat kèm biên nhận, và kiểm biên nhận khi offline, vào quy trình n8n.
The Idemcore community node for n8n adds two operations: chat with a signed receipt, and check a receipt offline with no API key.Node cộng đồng Idemcore cho n8n thêm hai thao tác: chat kèm biên nhận có chữ ký, và kiểm biên nhận khi offline mà không cần khóa API.
Install stepsCác bước cài đặt
- 1In n8n, open Settings, Community nodes, and install @idemcore/n8n-nodes-idemcore.Trong n8n, mở Settings, Community nodes, và cài @idemcore/n8n-nodes-idemcore.
- 2Add an Idemcore credential with your API key (optional base URL).Thêm credential Idemcore với khóa API (base URL tùy chọn).
- 3Add an Idemcore node, choose Chat, set the model and message, and run it.Thêm node Idemcore, chọn Chat, đặt model và tin nhắn, rồi chạy.
- 4Add a second node, choose Verify Receipt, and pass the receipt from the previous node.Thêm node thứ hai, chọn Kiểm biên nhận, và đưa biên nhận từ node trước.
PrerequisitesĐiều kiện cần
- An n8n instance where you can install community nodes.
- An Idemcore API key for the Chat operation. Verify Receipt does not need a key.
- Một bản n8n cho phép cài node cộng đồng.
- Khóa API Idemcore cho thao tác Chat. Kiểm biên nhận không cần khóa.
A minimal working exampleVí dụ tối thiểu chạy được
In n8n, open Settings → Community nodes and install @idemcore/n8n-nodes-idemcore. Add an Idemcore credential (API key, optional base URL). Then:Trong n8n, mở Settings → Community nodes và cài @idemcore/n8n-nodes-idemcore. Thêm credential Idemcore (khóa API, tùy chọn base URL). Sau đó:
1. Add the Idemcore node, operation: Chat.
2. Set the model (for example qwen3.8-27b-idna) and the user message.
3. Run the node. The output includes the answer text, receipt_id, and the signed receipt.
4. Add a second Idemcore node, operation: Verify Receipt, and pass the receipt from the previous node.
5. The second node reports whether the receipt is valid, with no API call.Options and configurationTùy chọn và cấu hình
- Credential
idemcoreApi: API key and an optional base URL (defaulthttps://api.idemcore.net). - Operation Chat: uses the Idemcore SDK chat method and returns the answer,
receipt_id, and the signed receipt. - Operation Verify Receipt: checks the receipt on the n8n host, offline, with no key and no model.
- Credential
idemcoreApi: khóa API và base URL tùy chọn (mặc địnhhttps://api.idemcore.net). - Thao tác Chat: dùng phương thức chat của SDK Idemcore và trả về câu trả lời,
receipt_idvà biên nhận có chữ ký. - Thao tác Kiểm biên nhận: kiểm biên nhận trên máy chạy n8n, khi offline, không cần khóa và không cần model.
TroubleshootingXử lý sự cố
The node does not appear after install.Node không hiện sau khi cài.
Confirm the package name is @idemcore/n8n-nodes-idemcore and restart n8n if your setup requires it. Then search for Idemcore in the node picker.Hãy chắc tên gói là @idemcore/n8n-nodes-idemcore và khởi động lại n8n nếu bản cài của bạn yêu cầu. Rồi tìm Idemcore trong danh sách node.
Chat fails with 401.Chat lỗi 401.
Edit the Idemcore credential and paste a key from the console. Verify Receipt can run without that credential.Sửa credential Idemcore và dán khóa từ console. Kiểm biên nhận vẫn chạy khi không có credential đó.
Version and changelogPhiên bản và nhật ký thay đổi
Current published version: 0.1.0.Phiên bản đang phát hành: 0.1.0.
See the version on npm, and the site changelog.Xem phiên bản trên npm, và nhật ký thay đổi trên site.
SupportHỗ trợ
Questions about install, API keys or receipts: support@idemcore.net. Security reports: security@idemcore.net. Sales and pilots: dev@idemcore.net.Câu hỏi về cài đặt, khóa API hoặc biên nhận: support@idemcore.net. Báo cáo bảo mật: security@idemcore.net. Bán hàng và thí điểm: dev@idemcore.net.
support@idemcore.net · Contact page →Trang liên hệ →
Package registryKho gói
How to get an API keyCách lấy khóa API
The Chat operation uses an Idemcore API key stored in the n8n credential. Verify Receipt runs offline and does not use the key.Thao tác Chat dùng khóa API Idemcore lưu trong credential n8n. Kiểm biên nhận chạy khi offline và không dùng khóa.
To create a key, sign in to the console and create an API key. It starts with ick_ and is shown once, so keep it on your server. Then set IDEMCORE_API_KEY in the environment.Để tạo khóa, đăng nhập console và tạo khóa API. Khóa bắt đầu bằng ick_ và chỉ hiện một lần, hãy giữ nó ở phía máy chủ. Sau đó đặt IDEMCORE_API_KEY trong biến môi trường.
Get a key on this site →Lấy khóa trên trang này → Open the console →Mở console →
How to check a receiptCách kiểm biên nhận
Use the Verify Receipt operation, or open a public share on the receipt page at idemcore.net/r/.Dùng thao tác Kiểm biên nhận, hoặc mở bản chia sẻ công khai trên trang biên nhận tại idemcore.net/r/.
You can also open a public share on the receipt page, or use the check page on this site.Bạn cũng có thể mở bản chia sẻ công khai trên trang biên nhận, hoặc dùng trang kiểm trên site này.
Receipt page →Trang biên nhận → Check a receipt →Kiểm một biên nhận →