See it in action FR
Menu

Episode 5 · 7:42

The AI widget as a Web Object

Same Maya, new interface. Switch the Q&A and the chat to the SlideMind widget, drop them into a new Storyline project as Web Objects, and test the course in SCORM preview.

YouTube loads only when you play the video. Watch on YouTube

Chapters

What you’ll learn

  • Choose between the ready-made Storyline slide and the SlideMind widget
  • Style the widget to match your course and insert it into Storyline
  • Change an activity without republishing your course

Before you start

  • The “Customer apology” Q&A slide from episode 2 and the “Maya calls back” chat slide from episode 3
  • The learner memory from episode 4: Sam, as test-learner-1, with a first name and a job title in the Memory Hub
  • Articulate Storyline 360, with a new project of two slides, each with an empty space for a widget

Follow along

Step by step

Native or widget?

  1. The ready-made .story slide from the earlier episodes lives in Storyline: you design it, and it can send Storyline values to the AI. The widget is drawn in SlideMind: you pick a layout and colors, a chat shows the whole conversation, and what you change in SlideMind reaches your course.
  2. The widget can’t read Storyline variables. It reads only the values stored in the Memory Hub, like the first name and job title saved in episode 4. It can write to Storyline, though: once the learner has answered, it sets a “done” variable to true, and Storyline can unlock the Next button.

The Q&A widget

  1. Open the “Customer apology” slide from episode 2. No copy needed: the slide itself becomes the widget.
  2. In the Activity box, select Change. Set Interface to SlideMind widget. The destination jumps to Articulate Rise 360 (Code block), so pick Articulate Storyline (Web Object), then select Done. The editor gains one more step: Look.
  3. In Results & memory, keep Feedback only: the learner reads the AI’s reply as it is. Scores and verdicts come in a later episode.
  4. In Look, compare the three layouts of the Q&A widget: Question header, Worksheet and Flip card. With Sample states, Try it shows each layout before and after an answer, and when the assessment is unavailable. Sample states are free: no AI call, no credits.
  5. Pick Flip card, then set the Primary color, the Theme and the Button label. The AI notice tells learners an AI is answering, before their first try. For the same look on every slide, set it once for the workspace in Settings › Integrations, under HTML Widget defaults.
  6. Run a real test: type an answer and select Send answer. The preview is small, so select Enlarge to see it at full size: the card flips with the feedback. Then select Save slide.

The chat widget

  1. Back on the Slides page, open “Maya calls back”. In the Activity box, select Change, then SlideMind widget and Articulate Storyline (Web Object).
  2. In the Conversation step, open the list that sets how the conversation ends. The widget adds two endings: a fixed message appears and the message box disappears. Keep the AI wraps up.
  3. In Look, keep the same primary color and the light theme: here, the color tints the header, the learner’s bubbles and the send button. You can also change the Assistant bubble color and the Bubble radius, and rename labels like the message box or the end card.
  4. In Try it, switch to Look and enlarge the preview to check every state of the chat: Opening, Conversation, Unavailable and End.

Into Storyline

  1. In each slide’s Installation step, select Publish, then, in Ready-made Web Object, select Download the folder (.zip). Later changes to the prompt, look or layout apply without inserting the folder again.
  2. Right-click each .zip file and choose Extract All. Each slide now has its own folder, holding a single file, index.html: that’s your Web Object.
  3. In your new Storyline project, on the first slide, choose Insert › Web Object and select the Q&A folder. Keep Display in slide and size the object to the empty space: the widget fits whatever space you give it. Do the same on the second slide, with the chat folder.
  4. Every Storyline variable is optional, so create just one. In SlideMind, under Storyline variables, copy the name beside Activity finished (true/false).
  5. In Storyline, create a True/False variable, paste that name and keep the default value, False.
  6. On the Q&A slide, add two triggers: one sets the Next button to Disabled when the timeline starts, the other sets it back to Normal when the variable changes, if it equals True. Learners now answer before they move on.

Test in SCORM preview

  1. Storyline can’t display a Web Object, neither in the editor nor in Preview. To see the widget, publish the course and open it. Because the widget needs to know who the learner is, test it in SlideMind’s SCORM preview.
  2. In Storyline, publish the course for an LMS as a SCORM package, then zip it.
  3. In Test & monitor › SCORM preview, select Choose a .zip and upload the package, next to the ones from episode 4.
  4. Select Launch, enter test-learner-1 as the Learner ID, leave Learner name empty and select Start. SlideMind already knows this learner from episode 4: it’s Sam.
  5. The Next button stays greyed out until the learner answers. Type an answer and send it: the card flips, the feedback still speaks to Sam, since memory works in the widget too, and Next unlocks.
  6. On the next slide, talk to Maya: this time, the whole conversation stays on screen.
  7. Back in SlideMind, change the Primary color and select Save slide. In SCORM preview, select Relaunch as another learner, then Start: the new color is there. No republish, no re-upload.
  8. The same widget isn’t only for Storyline: drop it into Rise 360 with a Code block, or into any web page with an iframe.

Transcript

Show

Scenario 4: The SlideMind widget

Hi and welcome back! So far, our slides used Storyline's own text fields and buttons. Today, we'll try the other way: the SlideMind widget, a ready-made interface you drop into Storyline as a Web Object. Here's Maya's question again, this time as a flip card. The learner answers… and the card flips to show the feedback. And here's our call with Maya, with the whole conversation on screen, message after message.

Native or widget?

So, when should you use the widget? The ready-made .story slide from the earlier videos lives in Storyline: you design it, and it can send Storyline values to the AI. The widget is drawn in SlideMind: you pick a layout and colours, and a chat shows the whole conversation. Change it in SlideMind, and your course follows. One thing to keep in mind: the widget can't read Storyline variables directly. It only reads the values stored in SlideMind's "Memory Hub", like the first name and job title we saved in the previous video. It can, however, send values to Storyline. For example, once the learner has answered, it sets a "done" variable to true, and Storyline unlocks the "Next" button.

The Q&A widget

Let's start from our "Customer apology" slide, the Q&A we built earlier. We'll switch it to the widget, then drop it into a brand-new Storyline project. In the "Activity" box, select "Change". For the interface, choose "SlideMind widget". The destination jumps to Rise 360, so pick "Articulate Storyline (Web Object)". Done. The editor now has one more step: "Look". First, what comes back. We keep "Feedback only": the learner reads the AI's reply, as it is. We'll add a score and a verdict in a later video. Now, "Look". The Q&A widget comes in three layouts: "Question header", "Worksheet" and "Flip card". With "Sample states", "Try it" shows each layout before and after an answer, and even when the assessment is unavailable. And it's free: no AI call, no credits. We'll take the flip card. Pick your primary colour, a light or dark theme, and the button label. The "AI notice" tells learners an AI is answering, before their first try. If all your slides should look alike, set this once for the whole workspace, in "Settings", under "Integrations". Now a real test. "I'm so sorry, Maya… a new lamp ships today… free of charge." "Send". The preview is small, so let's select "Enlarge". The card flips with the feedback. Let's save.

The chat widget

The chat works the same way. Back on the "Slides" page, we open "Maya calls back". In the "Activity" box, "Change": "SlideMind widget", then "Articulate Storyline (Web Object)". Now the "Conversation" step. Open the list that sets how the conversation ends: the widget adds two options, "a fixed message appears" or "the message box disappears". We'll keep "the AI wraps up". Then the "Look" step. Like the Q&A widget, the chat has its own look: click "Look", and we keep the same primary colour and the light theme. Here, the colour tints the header, the learner's bubbles and the send button. You can also change the colour of the AI's bubbles, round the bubbles, and rename the labels, like the message box or the end card. In "Look", "Try it" previews every state of the chat, here in the large view: the opening, the conversation, an error, and the end card.

Into Storyline

In each slide's "Installation" step, publish, then download the folder. Right-click each zip file, and choose "Extract All". We now have a folder for each slide containing a single file called "index.html". This is our web object. In Storyline, we start from a new project: two slides with Maya's pictures, and an empty space for each widget. On the first slide, choose "Insert", "Web Object", and select the Q&A folder. Keep "Display in slide", and size the object to the space: the widget fits whatever space you give it. We do the same on the second slide, with the chat folder. Remember: the widget can't read Storyline variables, but it can write to them. Every variable is optional, so we'll create just one. In SlideMind, under "Storyline variables", copy the "Activity finished" name. In Storyline, create a true-or-false variable and paste that name. Then two triggers on this slide: "Next" is disabled when the timeline starts, and turns back on when the variable changes to true. Now learners answer before they move on.

Test in SCORM preview

Ok, now it's time to test. One thing to know: Storyline can't display a Web Object, neither in the editor nor in "Preview". To see the widget, you need to publish the course and open it, either on your PC or online. Because the widget needs to know who the learner is, we'll upload it to SlideMind's "SCORM preview". So let's publish the course for an LMS, as a SCORM package, and zip it. Then, in "SCORM preview", we upload it, next to the two packages we already have. We launch our course as "test-learner-1". As you might remember from the previous video, SlideMind already knows this learner: it's Sam. Here's our course. Second, as we set it up in Storyline, the "Next" button is greyed out: it's locked until we answer. Let's do it: "Sorry about that, Maya… I'll send a new lamp by express… so it arrives tomorrow." "Send". The card flips, and the feedback still speaks to Sam: memory works in the widget too. And "Next" is now unlocked. Now, the chat. As you can see, this time, the whole conversation stays on screen. And here's the nice part. Back in SlideMind, we change the primary colour and save. Back in "SCORM preview", we relaunch… and the new colour is there. No republish, no re-upload. And the same widget isn't only for Storyline: drop it into Rise 360 with a "Code" block, or into any web page with an iframe. In the next video, we'll go further: scores, and structured results that Storyline can react to. See you there!

Keep the idea going.

Bring one Storyline activity.

Start with a question worth answering. Build the feedback around your learning objective, then test it in your own course.