Skip to content

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.

Video tutorial, Ep. 5: The AI widget as a Web Object. The Q&A and the chat switched to the SlideMind widget and inserted into Storyline as Web Objects. Steps and texts to copy on SlideMind Academy ↗

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.

  • 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.

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.

  1. Select Download the folder (.zip). If the slide has unsaved changes, the button reads Save & download the folder and saves the slide first.
  2. Unzip the downloaded folder: it holds index.html. The folder is named after the slide.
  3. In Storyline, choose Insert › Web Object, select that folder and keep Display in slide, then size the object on the slide.
  4. 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.

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.

VariableStoryline typeWhen it is writtenWhat it holds
Answer variable (AI answer), for example aiResp_s2_practiceRolePlayATextQ&A and ChatThe reply the learner sees.
Answer variable + _done (Activity finished (true/false))True/FalseQ&A and Chattrue once the activity is finished.
Answer variable + _verdict (Verdict (text: pass, partial or fail))TextQ&Apass, partial or fail, or empty when the widget shows no verdict.
Answer variable + _turns (Turns answered (number))NumberChatThe 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))NumberChatThe slide’s turn limit, or 0 without a limit, known as soon as the widget loads.
Answer variable + _err (Error variable)TextQ&A, and a Chat with structured resultsassessment unavailable: followed by the missing fields, or empty when every field arrived.
Answer variable + _ + field name, for example aiResp_s2_practiceRolePlayA_scoreNumber, True/False or Text, to match the fieldWith structured resultsOne 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.

_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.

_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.

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.

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 _err is emptied;
  • when some fields are missing, the Storyline variables keep their previous values and _err lists 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.

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 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.

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.