Articulate Storyline (Web Object)
With this destination you download a folder from SlideMind and insert it into Storyline as a Web Object. Learners use the SlideMind widget inside your Storyline slide, and the widget can write its results to Storyline variables. This page is for Storyline authors. Status: stable.
When to choose the Web Object
Section titled “When to choose the Web Object”Choose the Web Object when you want:
- no JavaScript trigger to write: you insert a folder;
- the complete SlideMind widget, with its Q&A layouts, appearance, AI notice and learner language;
- a Chat whose structured results still reach Storyline variables after every reply.
Choose Articulate Storyline (JavaScript) instead when you want to design the screen yourself, or send values from Storyline to the prompt: the widget cannot read Storyline variables. A Capture slide always uses the JavaScript destination, since a capture has no screen to show.
Before you start
Section titled “Before you start”- In the Activity and destination dialog, the slide uses SlideMind widget and Articulate Storyline (Web Object).
- The slide is published. The Installation step shows This slide is not published yet until it is.
- Your workspace has AI connected, and your allowed websites include the addresses where the course runs. See Integration overview.
Insert the Web Object
Section titled “Insert the Web Object”The slide’s Installation step is titled “Add it to Storyline”. It opens on the Ready-made Web Object card, which holds the download button, the setup steps and Show the code.
- Select Download the folder (.zip). If the slide has unsaved changes, the button reads Save & download the folder and saves the slide first.
- Unzip the downloaded folder: it holds
index.html. The folder is named after the slide. - In Storyline, choose Insert › Web Object, select that folder and keep Display in slide, then size the object on the slide.
- Publish the course to your LMS or to SCORM Cloud to test it. The learner is recognized only in the published course.
As the card says, changes to the prompt, look or layout apply without inserting the folder again.
You can also download the folder from the Slides page: in the ⋯ menu of the slide’s row, select Download the Articulate Storyline (Web Object) folder.
Storyline variables (all optional)
Section titled “Storyline variables (all optional)”The Storyline variables section of the Installation step, closed by default, lists the names. Every variable is optional: create only the ones your course uses, with exactly these names. Storyline ignores a value for a variable you did not create. The copy button beside each name copies it, ready to paste in Storyline.
| Variable | Storyline type | When it is written | What it holds |
|---|---|---|---|
Answer variable (AI answer), for example aiResp_s2_practiceRolePlayA | Text | Q&A and Chat | The reply the learner sees. |
Answer variable + _done (Activity finished (true/false)) | True/False | Q&A and Chat | true once the activity is finished. |
Answer variable + _verdict (Verdict (text: pass, partial or fail)) | Text | Q&A | pass, partial or fail, or empty when the widget shows no verdict. |
Answer variable + _turns (Turns answered (number)) | Number | Chat | The learner turns that got a reply, known before the first reply, and back to 0 after Restart. A failed request doesn’t count. |
Answer variable + _max_turns (Turn limit (number, 0 when unlimited)) | Number | Chat | The slide’s turn limit, or 0 without a limit, known as soon as the widget loads. |
Answer variable + _err (Error variable) | Text | Q&A, and a Chat with structured results | assessment unavailable: followed by the missing fields, or empty when every field arrived. |
Answer variable + _ + field name, for example aiResp_s2_practiceRolePlayA_score | Number, True/False or Text, to match the field | With structured results | One field of the result. |
The answer variable name follows the slide number and title, like in the JavaScript destination. You can rename it in Storyline variables before you download the folder. Names use letters, digits and underscores only, and cannot start with a digit. The other names, including one per return field, are built from the answer variable.
When the activity is finished
Section titled “When the activity is finished”_done turns true:
- in a Q&A, once the learner sees the feedback, even when the assessment is unavailable;
- in a Chat with a turn limit, after the last turn;
- in a Chat without a turn limit, after the first reply.
To make Next wait for the activity, add a trigger that changes the state of Next when the _done variable changes.
To show a turn counter such as “2/4” on your Storyline slide, insert %aiResp_s2_practiceRolePlayA_turns%/%aiResp_s2_practiceRolePlayA_max_turns% in a text box, with your own variable names. A folder downloaded before October 26, 2026 doesn’t write these two variables: download it again.
The verdict
Section titled “The verdict”_verdict holds a value only when the widget shows a verdict: when the Q&A maps a Pass / fail field, or sets a Pass from score, in Structured results, opened from More styling: labels, verdict colours, score display in the Look step. Otherwise it is set to an empty text after each answer.
Structured results
Section titled “Structured results”In a Q&A
Section titled “In a Q&A”Choose Score and verdict in the What comes back? step. The widget shows the feedback, the score and the verdict, and the Web Object writes each return variable to its own Storyline variable, named after the answer variable (for example aiResp_s2_practiceRolePlayA_score). The fields are written only when the AI returns every one of them correctly. Otherwise, the Storyline variables keep their previous values and _err lists the missing fields.
In a Chat
Section titled “In a Chat”Choose Structured JSON in the What comes back? step, and include at least one text field: the slide editor blocks the save without one. After every reply:
- the learner reads one text field as the AI’s message. By default it is the first text field; when the slide has several, choose it in Shown to the learner;
- when every field arrives, each one is written to its own Storyline variable, named after the answer variable, and
_erris emptied; - when some fields are missing, the Storyline variables keep their previous values and
_errlists the missing fields.
If the field the learner reads cannot be trusted, the learner sees “The response is unavailable. Please try again.” The turn does not count, the message goes back to the message box so the learner can send it again, and _err lists the missing fields.
Field names
Section titled “Field names”Storyline variable names cannot hold accents or hyphens. The slide editor blocks the save when a return variable cannot be received. Under a field whose name doesn’t work, it says why. The Storyline variables section lists the full names. See Field names.
Changes after installation
Section titled “Changes after installation”Changes to the prompt, look or layout of the slide apply without importing the folder again. The same goes for the return variables and the Chat turn limit: the folder writes every field it receives, and the widget reads the limit from SlideMind. When you add a return variable, create the matching Storyline variable and republish your course.
Download the folder again and replace the Web Object when you change:
- the activity type (Q&A or Chat);
- the answer variable name, including through a new slide title or number when you never renamed it;
- the folder itself, when an update needs it.
See Changing a slide after installation.
Test the Web Object
Section titled “Test the Web Object”The learner ID is read from the published course, through the LMS or the Articulate SCORM driver. Test learner memory in your LMS or in SCORM Cloud, not in the Storyline preview. Review 360 and share links never identify the learner. See Test before going live.