N8N_QUICK_REFERENCE.mdโข5.28 kB
# n8n MCP Simplicate - Quick Reference Guide
## ๐จ IMPORTANT: Exact Tool Names Required
In n8n, you **MUST** use the exact tool name and JSON parameters. Natural language won't work!
---
## โ
Working Tools (Copy & Paste These)
### 1๏ธโฃ Get Absences
```json
{
"name": "get_absences",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 2๏ธโฃ Get Employees
```json
{
"name": "get_employees",
"arguments": {
"limit": 100,
"offset": 0
}
}
```
### 3๏ธโฃ Get Hours
```json
{
"name": "get_hours",
"arguments": {
"limit": 100,
"offset": 0
}
}
```
### 4๏ธโฃ Get Leave (Vacation/Time Off)
```json
{
"name": "get_leave",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 5๏ธโฃ Get Projects
```json
{
"name": "get_projects",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 6๏ธโฃ Get Organizations
```json
{
"name": "get_organizations",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 7๏ธโฃ Get Persons (Contacts)
```json
{
"name": "get_persons",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 8๏ธโฃ Get Invoices
```json
{
"name": "get_invoices",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 9๏ธโฃ Get Sales Quotes
```json
{
"name": "get_quotes",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### ๐ Get Timetable (Schedule)
```json
{
"name": "get_calendar_events",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 1๏ธโฃ1๏ธโฃ Get Services
```json
{
"name": "get_services",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 1๏ธโฃ2๏ธโฃ Get Documents
```json
{
"name": "get_documents",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
### 1๏ธโฃ3๏ธโฃ Get Payments
```json
{
"name": "get_payments",
"arguments": {
"limit": 50,
"offset": 0
}
}
```
---
## ๐ฏ Get Specific Items by ID
### Get Specific Employee
```json
{
"name": "get_employee",
"arguments": {
"employee_id": "employee:3b70f4dd49fafb356d44e34a3f0f8c3d"
}
}
```
### Get Specific Project
```json
{
"name": "get_project",
"arguments": {
"project_id": "project:xxxxx"
}
}
```
### Get Specific Organization
```json
{
"name": "get_organization",
"arguments": {
"organization_id": "organization:xxxxx"
}
}
```
### Get Specific Invoice
```json
{
"name": "get_invoice",
"arguments": {
"invoice_id": "invoice:xxxxx"
}
}
```
---
## ๐ง How to Use in n8n
### Method 1: AI Agent Node (Recommended)
1. Add **AI Agent** node
2. Connect to **Simplicate MCP** tool
3. In the prompt, be VERY specific:
```
Use the tool "get_absences" with arguments {"limit": 50, "offset": 0}
```
### Method 2: Direct MCP Tool Call
1. Add **MCP** node
2. Select **Simplicate** server
3. **Tool Name:** `get_absences` (exact, no quotes)
4. **Arguments:**
```json
{
"limit": 50,
"offset": 0
}
```
---
## ๐จ Common Mistakes
### โ DON'T Say:
- "Show me absences from Simplicate"
- "Get absences"
- "List all employees"
- "Fetch hours"
### โ
DO Say (in AI Agent):
```
Execute the tool "get_absences" with parameters:
{
"limit": 50,
"offset": 0
}
```
Or even better, use the direct MCP node with exact tool names!
---
## ๐ Complete Tool List
All 63+ tools are documented in `MCP_TOOL_REFERENCE.md`, but here are the most reliable ones:
| Tool Name | What It Gets | Status |
|-----------|-------------|--------|
| `get_employees` | All employees | โ
Working |
| `get_absences` | Employee absences | โ
Working |
| `get_leave` | Vacation/leave | โ
Working |
| `get_hours` | Logged hours | โ
Working |
| `get_calendar_events` | Schedules/timetable | โ
Working |
| `get_projects` | All projects | โ
Working |
| `get_organizations` | CRM organizations | โ
Working |
| `get_persons` | CRM contacts | โ
Working |
| `get_quotes` | Sales quotes | โ
Working |
| `get_invoices` | Invoices | โ
Working |
| `get_payments` | Invoice payments | โ
Working |
| `get_services` | Services catalog | โ
Working |
| `get_documents` | Documents | โ
Working |
---
## ๐งช Test Your Setup
### In n8n Workflow:
1. **Add MCP node**
2. **Server:** Select "Simplicate"
3. **Tool:** `get_absences`
4. **Arguments:**
```json
{
"limit": 10,
"offset": 0
}
```
5. **Execute** โ
---
## ๐ก Pro Tips for n8n
1. **Always use exact tool names** - No natural language
2. **Always provide limit/offset** - Default is usually 10
3. **Use Code node for filtering** - Get all data, then filter in n8n
4. **Chain tools together** - Get employees โ Filter โ Get their hours
---
## ๐ฏ Example n8n Workflow: Get Dwayne's Absences
```
Step 1: Get All Absences
โโ MCP Node
โโ Tool: "get_absences"
โโ Args: {"limit": 100, "offset": 0}
Step 2: Filter for Dwayne
โโ Code Node
โโ Filter items where employee.name contains "Dwayne"
Step 3: Format Output
โโ Code Node
โโ Create readable list
```
---
## ๐ Need Help?
- **Full API Reference:** See `MCP_TOOL_REFERENCE.md`
- **Endpoint Status:** See `ENDPOINT_STATUS.md`
- **Test Commands:** Run `npm run test:all`
---
**Remember:** In n8n, the AI agent needs EXACT tool names, not natural language! ๐ฏ