Loomio connects to a Nagent workspace with an API key. Once it is connected, agents can call 4 Loomio actions, such as "List Groups", "List Polls" and "Show Group". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Loomio, with input parameters and output schema.
LOOMIO_LIST_GROUPSTool to list all groups accessible to the user. Use when you need to retrieve and paginate user groups.
Input parameters
Page number to retrieve (pagination). Must be >= 1.
Search phrase to filter groups by name or description.
List of related records to include (e.g., 'members').
Number of groups per page (pagination). Must be >= 1.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LOOMIO_LIST_POLLSTool to list all polls accessible to the user. Use when you need to retrieve poll IDs and basic metadata.
Input parameters
Filter polls by status: 'open' (closing_at in future or null) or 'closed' (closed_at is set).
Filter polls by group ID.
Number of polls per page for pagination, must be >= 1 and <= 100.
Filter polls by discussion ID.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LOOMIO_SHOW_GROUPTool to retrieve details of a specific group. Use when you have a group_id and need its full metadata.
Input parameters
The unique identifier of the Loomio group to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LOOMIO_SHOW_POLLTool to retrieve details of a specific poll. Use when you have a poll ID and need its full metadata.
Input parameters
The ID of the poll to retrieve
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 4 Loomio actions on Nagent, including "List Groups", "List Polls" and "Show Group". List Groups: List all groups accessible to the user. Each action is listed on this page with its input parameters and its output.
Loomio connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It also takes 4 optional inputs: page, filter, includes and per_page. It returns data, error and successful.