Grafana · Arazzo Workflow
Grafana Onboard a User into an Org and Team
Version 1.0.0
Create a user, add them to an organization with a role, and place them on a team.
View Spec
View on GitHub
AlertingAnalyticsDashboardsLogsMetricsMonitoringObservabilityTracesVisualizationArazzoWorkflows
Provider
Workflows
onboard-user
Create a Grafana user and grant them org and team membership.
Creates the account with admin privileges, adds it to the organization with the requested role, looks the team up by name, adds the user to the team, and verifies membership.
1
createUser
adminCreateUser
Create the user account. This is a Grafana server admin operation and it returns the numeric user id that the team membership step needs.
2
grantOrgRole
addOrgUser
Add the user to the organization with an explicit role. Grafana identifies the user here by login or email rather than by id, so the login supplied above is reused.
3
findTeam
searchTeams
Resolve the team by name. Teams are referenced by numeric id everywhere else in the API, and those ids differ per instance, so looking the team up by its human name is what makes this workflow portable.
4
addToTeam
addTeamMember
Add the new user to the resolved team. Team membership is what folder and dashboard permissions are usually granted against, so this is the step that actually gives the user access to anything.
5
verifyMembership
getTeamMembers
List the team's members to prove the user is on it, closing the loop before the onboarding ticket is marked done.