Nifty PM icon

Nifty PM

Interact with Nifty PM API for project management

Document → Invite Members

AI-generated

Summary

Invite members to a Nifty PM document by specifying their IDs and permission levels.

Inputs

  • documentId (required) — The ID of the document to which members will be invited.
  • members (required) — List of members to invite. Each member requires an ID and a permission level. Accepts member IDs from the Nifty PM member list or raw string IDs, and a permission level (view, comment, edit). Multiple values allowed; the node sends the collection as the request body under the 'members' property, mapping each member's ID to its resolved value and attaching the selected permission.
  • requestOptions — Optional collection of request configuration settings. Includes batching (batchSize: number, batchInterval: number in ms), allowUnauthorizedCerts: boolean, proxy: string, and timeout: number (ms). Applied to the outgoing API request.

Output shape

The Nifty PM API response confirming the member invitations, typically containing the updated document member list or status metadata. Exact shape depends on the API response.

The 'members' parameter uses fixedCollection with multipleValues enabled. Its internal options include a 'memberValues' resourceLocator (modes: From List via getMembers search, or By ID as string) and a 'permission' options field with choices view, comment, edit (default: view). The routing automatically transforms selected members into an array of {id, permission} objects posted in the request body.

Examples

Example 1: Invite two members to a document

Set documentId to the target document's ID. Add two member entries: one selected from the member list with permission 'edit', and one provided by ID 'abc123' with permission 'comment'. Leave requestOptions at defaults or adjust batching/timeout as needed.

Discussion