Actions12
人事接口 → 新增员工
AI-generatedSummary
Adds one or more employees to Moka People using the configured add-employee API. Enter the API code and employee records as a JSON array; the operation wraps the array in a data field for the request.
Inputs
- apiCode (required) — The interface code configured for the add-employee API in Moka People under Settings → External Interface Settings.
- data (required) — A JSON array of employee objects, with one object per employee. The node sends it wrapped as
{ "data": [...] }. Refer to Moka People’s add-employee API documentation for supported employee fields. - options.timeout — Request timeout in milliseconds.
0means no timeout.
Output shape
A list of output items containing the API response data.
The operation runs once for each incoming item and associates each result with its input item. If Continue On Fail is enabled, a failed item produces an output containing an
errormessage.