Create/update register entries (import a reference table)
wflow_upsert_registerWrite register entries using PUT to replace the whole set or PATCH to update only submitted entries. Match by externalId or code.
Instructions
Write entries to a register. Two modes: • method='PUT' replaces the WHOLE set — entries missing from your list are marked invalid (this is how ERP reference-table imports work). Match is by externalId, or code if externalId is empty. • method='PATCH' updates only the entries you send, leaving the rest untouched. Each entry: {externalId?, code, description?, isValid?}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"entries": "<entries>"
},
"name": "wflow_upsert_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Register type. | |
| method | No | PUT=replace whole set, PATCH=partial update. | PATCH |
| entries | Yes | Array of register entries to write. | |
| organization | No |