You've seen what AI builders can make, and you'd love to use one. But your team has an authoring tool, an LMS, and forty courses that all need to look and track the same way. You're not going to rebuild everything as custom web pages. Here's the good news: you don't have to choose. Here's the short answer. To add an AI-built interaction to your authoring tool, build the interaction with an AI builder, export it as an HTML file, and upload it into a custom code block in your course. Your authoring tool keeps handling the structure, the tracking, and the updates. The AI-built piece does the one thing your tool couldn't.
Watch me build a custom interaction with AI and add it to a course.
How to Add Custom AI-Built Interactions to an eLearning Course
Your YouTube video plays here. Add the video's ID to this article's settings and it will load in this window.
I think this is where a lot of teams will land, so let me show you how it works.
Why combine AI with an authoring tool?
For years, getting more out of an authoring tool meant learning variables, triggers, layers, and a bit of JavaScript, and using every trick to push the tool past what it was designed to do. AI changes that. If you can describe an interaction, you can have it built.
But an authoring tool still does several things well that an AI builder doesn't do for you: it publishes to your LMS, it gives a team one place to maintain courses, and it keeps everything consistent. So the sensible move is to use each for what it's good at. A growing number of authoring tools have added custom code blocks for exactly this purpose, where you can import something built elsewhere and embed it in a lesson.
What kind of interaction is worth building this way?
Not everything. If your authoring tool already has a block that does the job, use it. I'd build a custom piece when all three of these are true:
- Your tool can't do it, or can only do an awkward version of it.
- It's the heart of the course. The one activity where the real practice happens.
- You can describe it clearly. If you can't say what the learner does and what happens when they do it, you're not ready to build it.
Some examples of what that looks like:
- A fill-in-the-blanks activity where learners build their own response from a bank of phrases, and then see how a customer reacts
- A calculator or decision tool that uses the learner's own numbers
- A sorting or matching activity with rules your tool's version doesn't support
- A short simulation of a system screen
- A scenario with a mechanic you've always wanted and never could build
Worth building?
Six ideas for an interaction. Decide whether each one is worth building with AI.
Card 1 of 6
An activity where learners assemble a response and see a customer react
A flip card with a definition on the back
A three-tab block explaining three policies
A sorting activity with a rule your tool's version doesn't support
A calculator that uses the learner's own numbers
A multiple-choice knowledge check
Swipe the card right to build it or left to use what you have, or use the buttons.
Your result
How do you build the interaction and add it to your course?
Here's what I did. I had a course for customer service agents at a made-up company, about how to greet customers. Most of it was standard content. At the end, I wanted the agents to build their own greeting, piece by piece, and test it on a customer. My authoring tool didn't have anything like that.
1. Describe the interaction to an AI builder. I explained what I wanted in plain language: a fill-in-the-blanks interaction where the learner picks phrases to assemble a greeting, and then sees how the customer responds. I also told it, "I plan on embedding this interaction into my authoring tool as an HTML file, in case that matters." I didn't know whether it mattered. It's worth saying anyway.
2. Answer its questions. It asked how the blanks should work and how the customer should respond. I chose phrase banks and scripted replies to keep it simple.
3. Use your brand. Because I'd already set up a design system, the interaction came out in the same look as my other work. If you haven't, give it your colors and fonts. See How to Keep AI-Built eLearning on Brand.
4. Test it on its own. Before it goes anywhere, open it and try everything. Mine cut off some text on the first attempt, so I had that fixed first.
5. Export it as a standalone HTML file. One file, downloaded to my computer.
6. Add a custom code block in your authoring tool. In Mindsmith, which is what I used, I added a new tile, searched for "code," and chose the custom code tile, which accepts HTML or ZIP files. I uploaded my file.
7. Adjust how it sits on the page. I set it to automatic height and full width. The automatic height matters: without it, you can end up with a scrolling box inside a scrolling page, which confuses people.
8. Preview the whole lesson. Go through it as a learner. The custom piece should feel like part of the course and not like a window into something else.
One custom piece in a standard course
Can your authoring tool's own AI build it?
Sometimes, and when it can, it's even simpler. In the tool I used, I could ask its built-in AI agent to create a custom interaction right inside the lesson. The advantage is context. I could say, "based on the greeting procedure outlined in this course," and it knew what I meant, because it could see the course.
There are also plug-ins that add this kind of ability to tools that don't have it. Mighty, for example, is a plug-in that extends what Rise can do, and it grew out of things its makers needed for their own client work.
Which route you take depends on your tool. Rise 360, for example, now has a Code Block, and Articulate's community has a collection of member-built examples, along with a note that Articulate's support team can't troubleshoot custom code you add. For any other tool, check its documentation for "custom code," "code block," "embed," or "web object," and see what it supports.
If "web object" is a new term, here's how Jeff Batt, a developer in our field, explained it to me: it's a window to another web page. You publish the AI-built piece so it has its own link, paste that link into the web object, and give the window enough room. The learner never knows the piece was built somewhere else. Jeff also gave me two rules I agree with. If you can build the interaction in your authoring tool, build it there, because it's simpler to maintain. And don't embed anything that asks people to log in.
What should you design differently for an embedded piece?
An interaction that lives inside another course has a few rules of its own.
- Keep it self-contained. It shouldn't have its own menu or navigation. The course handles that.
- Make it fit the width. It needs to work in the space the block gives it, on a laptop and on a phone if your learners use one.
- Match the course. Same colors, fonts, and tone. A different look is jarring.
- Give it a clear end. The learner should know when they've finished and that it's time to continue.
- Don't hide required content in it. If the block fails to load for someone, they shouldn't miss something they'll be tested on.
What are the limits?
- Tracking stays with the course. Your authoring tool reports that the lesson was completed. It usually won't know what the learner did inside your custom piece, such as their score in it. If you need that recorded, ask your tool's vendor what's possible.
- Someone has to maintain it. Keep the project you built it in, along with the exported file, and note which lesson uses it.
- It needs its own accessibility check. Your authoring tool's accessibility features don't extend into custom code. Ask the AI for keyboard access and proper labels, and test them.
- IT may have rules. Some organizations restrict custom code in courses. Ask first.
Common questions about custom interactions in authoring tools
Does this work in Storyline or Rise?
Rise 360 has a Code Block made for this. Storyline can display web content inside a course in its own way. Features and names change, so check Articulate's documentation for your version, and test with a small example before you build something big. One thing to expect in any tool: your custom piece usually won't pick up the course's fonts and colors automatically, so build your brand into it.
Will the interaction be tracked in my LMS?
The course it sits in will be. What happens inside the custom piece usually isn't reported separately.
Do I need to know how to code?
No. You describe the interaction, export a file, and upload it.
Can I reuse an interaction in other courses?
Yes. That's one of the best reasons to do this. Build a good one, keep the file, and ask the AI for a new version with different content when you need it.
What if it breaks after I upload it?
Test the file on its own first. If it works alone and not in the tool, the tool's block is usually limiting something, so check its settings and documentation, and describe what you're seeing to the AI.
The takeaway
You don't have to pick between your authoring tool and AI. Let the authoring tool do what it does well: structure, tracking, and upkeep. Then build the one interaction that matters most with AI, export it, and drop it in. You get practice your tool couldn't offer, inside a course your team can still maintain.




















