Membervault connects to a Nagent workspace with an API key. Once it is connected, agents can call 4 Membervault actions, such as "Add User to Course", "Get Courses" and "Delete User". 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 Membervault, with input parameters and output schema.
MEMBERVAULT_ADD_USERTool to add a user to a specified product. Use when enrolling a user into a course without duplication.
Input parameters
Email address of the user to add or grant access to.
ID of the product (course) to grant access; use -1 to create a user without granting access to any course.
Optional last name of the user.
Optional first name of the user.
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
MEMBERVAULT_DELETE_USERTool to completely delete a user from the account, including all data, progress, and quiz answers (irreversible). Use when you need to permanently remove a user. Example: "Delete user with email user@example.com"
Input parameters
Email address of the user to completely delete
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
MEMBERVAULT_GET_COURSESTool to retrieve all courses (products) in the MemberVault account. Use when you need to list available courses after setting up authentication.
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
MEMBERVAULT_REMOVE_USERTool to remove a user's access to a product (course). This simply removes access to the product without deleting the user from the account. Use when revoking course access.
Input parameters
Email address of the user to remove from product
ID of the course/product to remove the user from
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 Membervault actions on Nagent, including "Add User to Course", "Get Courses" and "Delete User". Add User to Course: Add a user to a specified product. Each action is listed on this page with its input parameters and its output.
Membervault 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.
Add User to Course takes 2 required inputs: email and course_id. It also takes 2 optional inputs: last_name and first_name. It returns data, error and successful.