Skip to content
Help
Go to Learnient(opens in a new tab)

How Lenni actions work

Lenni actions let an administrator ask Lenni to make a change in plain words, such as “create a group called London” or “assign Leadership Essentials to everyone in the table above”, and then confirm it on a card. Lenni never changes anything until you press Confirm, and it never does anything your role could not do in Learnient yourself.

Three things all have to be true before Lenni will offer to change anything for you:

  • Lenni actions is switched on for your account, under Admin → Workspace → AI
  • your role includes Lenni: Take actions, which new accounts give to the administrator roles only
  • you can see everyone in your organisation

People who see only their own team can still ask Lenni questions, but Lenni will not make changes for them yet. Lenni also takes no actions while you are signed in as someone else.

On top of that, every action needs the same permission it needs on the screen. If your role cannot assign courses in Learnient, Lenni cannot assign them for you either, and it tells you so rather than trying.

What Lenni checks before it shows you a card

Section titled “What Lenni checks before it shows you a card”

When you ask for a change, Lenni works out exactly what would happen before it asks you to confirm. The numbers and names on the card come from your organisation’s current records, not from Lenni’s own wording.

  • Names are matched carefully. If “Technical” could mean the Technical department or Technical Support, Lenni asks which one you meant rather than guessing. The same applies when a group and a location share a name.
  • A person can be named by their mobile number, typed any way you like, such as “07911 123456” or “+44 7911 123456”. Only the whole number finds them, never part of one.
  • People are checked one by one. Anyone archived, anyone who is not in your organisation and anyone you cannot see is listed on the card as left out, and is never changed.
  • Things that are already true are skipped. Someone who already has the course is shown as skipped, not assigned twice.
  • Settings are spelled out. When you assign a course without saying whether it is mandatory or when it is due, the card shows what the course’s own settings will give people.

Assigning a course to an audience with Lenni

Section titled “Assigning a course to an audience with Lenni”

When you ask Lenni to assign a course to a department, location, job title, company, group or position, the card asks you to choose between Everyone there, now and later, which adds an assignment rule to the course, and Only the people there now, which assigns the course by name to the people there today. Lenni never picks for you.

A position gets the same choice: Everyone there, now and later covers anyone given the position later too. Lenni offers positions only if your organisation uses them.

An audience can also be everyone with one option of a custom field, such as “everyone whose Region is EMEA”, as long as the field is Available to rules. Lenni matches the field by its name and the option by its label, and asks rather than guesses when either doesn’t match. The rule is the same one the course’s Assignment tab makes: one option, for the people who have it.

To take a rule off a course later, ask Lenni to stop assigning the course to that audience, such as “stop assigning GDPR Basics to Sales”. Lenni removes the rule, so people who join later no longer get the course, and unassigns it only from people who had it through that rule alone. Their progress is kept, and anyone who also has the course by name, through another rule or through a learning path keeps it. The card tells you how many people lose the course. If the course isn’t assigned to that audience by a rule, Lenni tells you there’s nothing to remove.

What happens when you confirm a Lenni action

Section titled “What happens when you confirm a Lenni action”

Pressing Confirm runs exactly what the card showed. If anything changed between Lenni showing the card and you confirming it, such as someone else assigning the course to half of the same people, Lenni stops and shows you the updated card instead.

A request with several steps runs them in order. If one step fails, Lenni stops there and tells you which steps finished and which did not. It does not try to reverse the ones that already finished; you can undo those yourself.

Every change Lenni makes goes through the same checks as the screens do, so a change your role is not allowed to make is refused, even if the card was shown.

After an action finishes, Lenni shows an Undo button for 10 minutes. Undo reverses exactly what that action did and nothing else. For example, undoing an assignment unassigns only the people it newly assigned, not the people who already had the course.

What undo does depends on the change:

  • A move, or taking people out of a department, location, job title or company, puts each person back in the one they were in before, or in none if they had none.
  • A position change gives back each person’s previous positions, with the same one as their main position.
  • A course assigned to everyone in a department, location, job title, company, group, position or custom field option, now and later, has that assignment rule removed, and the course is unassigned from anyone who had it only through the rule. Their progress is kept, and anyone who also has the course another way keeps it.
  • A course assigned to only the people there now is unassigned from the people it newly assigned, not from anyone who already had it.
  • Stopping a course being assigned to an audience puts the rule back, and the course is assigned again to everyone the rule reaches.
  • Adding people to a group takes out only the people it added, and taking people out of a group puts back only the people it took out. Anyone who was already in the group, or already out of it, is left as they were, and nobody’s other groups change.
  • Something Lenni created, such as a location or a group, is deleted if nothing uses it.
    • A location: if the same request also moved people into it, undo moves them back first and then deletes it. If you moved them in with a separate request, undo that one first.
    • A group: Lenni creates it empty. If the same request also added people to it, undo takes them out first and then deletes it. If people were added with a separate request, undo that one first. If a course, learning path or CPD requirement now uses it, undo keeps it.
    • While people are still in it, undo keeps it and Lenni tells you it couldn’t delete it.
  • A department, location, job title or company Lenni deleted comes back as it was. Undo can’t bring it back if a new one with the same name has been created since, and Lenni tells you so.

Only the person who ran the action can undo it, and only once. Some actions cannot be undone, such as sending reminders or approving requests. For those, the card lists everyone affected and asks you to type how many people or requests it covers before Confirm becomes available.

Finding Lenni’s changes in the audit log

Section titled “Finding Lenni’s changes in the audit log”

Every change Lenni makes is recorded under your name in Admin → Audit log, marked Lenni assistant, and all the changes from one request are grouped together. Outgoing webhooks for those changes are labelled as coming from Lenni as well. Changes made from a connected AI app such as Claude go through the same checks and are recorded the same way, marked with the app’s integration name instead. See How AI connections work.

Why does Lenni say it can’t do that for me?

Section titled “Why does Lenni say it can’t do that for me?”

Lenni explains the reason. Usually your role does not include Lenni: Take actions, your account has Lenni actions turned off, or you can see only part of your organisation. It can also be that your role cannot do that particular thing in Learnient at all.

Can Lenni change something because a message told it to?

Section titled “Can Lenni change something because a message told it to?”

No. Typing “yes” in the chat is not a confirmation, and nothing Lenni reads can confirm on your behalf. Only pressing Confirm on the card makes a change.