NetSuite Automation
Skill này làm gì
Công cụ này giúp bạn quản lý thông tin trong hệ thống NetSuite, như khách hàng, đơn bán hàng và tồn kho. Bạn có thể tạo bản ghi mới, tìm dữ liệu bằng truy vấn tùy chỉnh hoặc cập nhật thông tin hiện có.
Khi nào nên dùng
- ✓Khi bạn cần tạo một đơn bán hàng mới cho khách hàng.
- ✓Khi cần tìm tất cả khách hàng sống ở một thành phố cụ thể.
- ✓Khi cần cập nhật địa chỉ của một khách hàng hiện có.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/netsuite-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một khách hàng mới tên 'Example Company' với email 'contact@example.com' và số điện thoại '11999998888'.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với hệ thống NetSuite của bạn. Bạn cho biết muốn làm gì, như tạo khách hàng hoặc tìm dữ liệu, rồi công cụ thực hiện thao tác đó trong NetSuite cho bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
NetSuite Automation
Automate Oracle NetSuite ERP operations including creating customers and sales orders, running SuiteQL queries, upserting records by external ID, and inspecting record metadata for comprehensive business management.
Toolkit docs: composio.dev/toolkits/netsuite
Setup
This skill requires the Rube MCP server connected at https://rube.app/mcp.
Before executing any tools, ensure an active connection exists for the netsuite toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.
Core Workflows
1. Create Sales Orders
Create customer orders with line items including item references, quantities, and pricing.
Tool: NETSUITE_CREATE_SALES_ORDER
Key Parameters:
entity(required) -- Customer reference:{"id": "<internal_id>"}item(required) -- Container withitemsarray, each containing:item(required) -- Item reference:{"id": "<internal_id>"}quantity(required) -- Units to order (non-negative)rate-- Unit price (optional if item has default pricing)amount-- Total line amount (alternative to rate)taxcode-- Tax code reference:{"id": "<internal_id>"}(required if SuiteTax enabled)description-- Line item notes
tranDate-- Transaction date inYYYY-MM-DDformatmemo-- Header memoorderStatus--"A"(Pending Approval) or"B"(Pending Fulfillment)otherrefnum-- External reference or PO number
Example:
Tool: NETSUITE_CREATE_SALES_ORDER
Arguments:
entity: {"id": "1234"}
item: {
"items": [
{"item": {"id": "56"}, "quantity": 10, "rate": 25.00},
{"item": {"id": "78"}, "quantity": 5, "rate": 50.00}
]
}
tranDate: "2026-02-11"
memo: "Q1 bulk order"
orderStatus: "B"
2. Run SuiteQL Queries
Execute ad-hoc SQL queries against NetSuite data with server-side paging.
Tool: NETSUITE_RUN_SUITEQL_QUERY
Key Parameters:
q(required) -- SuiteQL SELECT statementlimit-- Rows per page (default varies)offset-- Zero-based index of first row (must be a multiple oflimit)
Examples:
Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
q: "SELECT id, companyname, email FROM customer WHERE isinactive = 'F' ORDER BY companyname"
limit: 100
offset: 0
Tool: NETSUITE_RUN_SUITEQL_QUERY
Arguments:
q: "SELECT id, entitystatus, total FROM transaction WHERE type = 'SalesOrd' AND trandate >= '2026-01-01'"
limit: 50
3. Create and Manage Customers
Create new customer records with subsidiary assignment and contact details.
Tools:
NETSUITE_CREATE_CUSTOMER-- Create a new customerNETSUITE_GET_CUSTOMER-- Retrieve customer by internal IDNETSUITE_UPDATE_CUSTOMER-- Update existing customer (PATCH semantics)
Key Parameters for NETSUITE_CREATE_CUSTOMER:
body(required) -- JSON object with customer data. Required fields:subsidiary-- Object withid(subsidiary internal ID)- Either
companyName(for businesses) orfirstName+lastName(for individuals) - Optional:
email,phone,isPerson(set to"T"for individuals),comments
replace-- Comma-separated sublist names to fully replace (e.g.,"contacts,addressbook")
Example:
Tool: NETSUITE_CREATE_CUSTOMER
Arguments:
body: {
"companyName": "Acme Corp",
"subsidiary": {"id": "1"},
"email": "info@acme.com",
"phone": "555-0100"
}
4. Upsert Records by External ID
Create or update records idempotently using an external identifier. Essential for sync workflows.
Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID
Key Parameters:
record_type(required) -- Record type name, e.g.,"customer","salesorder","customrecord_myrec"external_id(required) -- External ID value (letters, numbers, underscore, hyphen only)body(required) -- JSON object matching the record schema; include mandatory fields when creating
Example:
Tool: NETSUITE_UPSERT_RECORD_BY_EXTERNAL_ID
Arguments:
record_type: "customer"
external_id: "CRM-CUST-42"
body: {
"companyName": "Acme Corp",
"subsidiary": {"id": "1"},
"email": "updated@acme.com"
}
Warning: Idempotency depends on consistent external ID usage. Mismatches silently create additional records instead of updating.
5. Inspect Record Metadata
…
Câu hỏi thường gặp
Tôi có cần biết ID nội bộ của khách hàng hoặc mặt hàng không?
Có, với nhiều thao tác như tạo đơn bán hàng, bạn cần ID nội bộ của khách hàng và mặt hàng. Bạn có thể dùng công cụ tìm kiếm để tìm các ID này.
‘SuiteQL’ là gì?
SuiteQL là ngôn ngữ truy vấn (tương tự SQL) cho phép bạn lấy thông tin cụ thể từ hệ thống NetSuite một cách linh hoạt.
Công cụ biết dùng tài khoản NetSuite nào bằng cách nào?
Bạn cần thiết lập kết nối an toàn giữa công cụ và tài khoản NetSuite. Việc này thường được thực hiện qua một máy chủ tên Rube MCP.
Chi tiết
Mô tả gốc của tác giả
NetSuite Automation: manage customers, sales orders, invoices, inventory, and records via Oracle NetSuite ERP with SuiteQL queries
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #2274
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.