Actions26
- Board Actions
- Item Actions
- Update Actions
- Team Actions
- Query Actions
Overview
The "Add Board Subscribers" operation in the Worktables node allows users to add subscribers—both individual users and teams—to a specific board within a workspace on Monday.com. This operation supports assigning subscribers as either owners or regular subscribers, enabling fine-grained control over board access and notifications.
This node is beneficial when automating team collaboration workflows, such as:
- Automatically adding project members to a new or existing board.
- Managing subscriber roles programmatically based on team changes.
- Ensuring relevant stakeholders receive updates by subscribing them to boards.
Example use case: When a new project board is created, automatically add the project manager as an owner subscriber and the rest of the team as regular subscribers to keep everyone informed.
Properties
Name | Meaning |
---|---|
Workspace Name or ID | Select the workspace containing the target board. Choose from a dropdown list or specify an ID via expression. |
Board Name or ID | Select the Monday board to which subscribers will be added. Choose from a dropdown list or specify an ID via expression. |
User Subscribers | A collection of users to add as subscribers. For each user, specify: - User Name or ID: Select or specify the user. - Is Owner: Boolean indicating if the user should be added as an owner (true) or subscriber (false). |
Team Subscribers | A collection of teams to add as subscribers. For each team, specify: - Team Name or ID: Select or specify the team. - Is Owner: Boolean indicating if the team should be added as an owner (true) or subscriber (false). |
Output
The output JSON contains details about the added subscribers grouped by category:
ownerUsers
: Result data for users added as owners.subscriberUsers
: Result data for users added as regular subscribers.ownerTeams
: Result data for teams added as owners.subscriberTeams
: Result data for teams added as regular subscribers.boardId
: The ID of the board to which subscribers were added.
Each group contains the response from Monday.com's API showing the IDs and names of the entities successfully added.
Dependencies
- Requires an API key credential for Monday.com with permissions to manage boards and subscribers.
- The node makes HTTP POST requests to the Monday.com GraphQL API endpoint:
https://api.monday.com/v2
. - Proper workspace and board IDs must be provided or selected.
- User and team lists are dynamically loaded via helper methods that query Monday.com for available users and teams.
Troubleshooting
- API Key Not Found: If the API key credential is missing or invalid, the node throws an error. Ensure the API key is correctly configured in n8n credentials.
- Board ID Required: The operation requires a valid board ID. Omitting this parameter results in an error.
- Invalid User or Team IDs: Specifying non-existent or unauthorized user/team IDs may cause the API call to fail or silently ignore those entries.
- Permission Issues: The API key must have sufficient permissions to add subscribers; otherwise, mutations will fail.
- Empty Subscriber Lists: If no users or teams are specified, no action is taken for that category.
- GraphQL Errors: Malformed queries or invalid parameters can cause errors. Review the mutation structure if issues arise.
Links and References
- Monday.com API Documentation
- Monday.com GraphQL API - Add Subscribers to Board
- n8n Expressions Documentation
Summary of execute() logic for "Add Board Subscribers"
- Retrieve required parameters: board ID, user subscribers, and team subscribers.
- Validate presence of board ID and API key.
- For user subscribers:
- Separate users into owners and regular subscribers based on the
isOwner
flag. - Send separate GraphQL mutations to add owners and subscribers.
- Separate users into owners and regular subscribers based on the
- For team subscribers:
- Similarly separate teams into owners and subscribers.
- Send separate GraphQL mutations to add owner teams and subscriber teams.
- Collect responses from all mutations.
- Return a JSON object summarizing the additions under keys:
ownerUsers
,subscriberUsers
,ownerTeams
,subscriberTeams
, andboardId
.
This approach ensures clear role assignment and efficient batch processing of subscribers.