Forum Discussion
Powerful Positioning with AI
- 29 days ago
At a high level, the Storyline setup is pretty simple: I use a text entry field tied to a variable, a JavaScript trigger on a button to send that text to an API endpoint, and then a few Storyline variables to capture the response and drive the feedback layers.
I’ve pasted my Storyline setup and the JS trigger into the attached txt file. Your team could point the same pattern at your internal Copilot endpoint instead of ChatGPT.
Storyline 360 setup
- Variables in Storyline
- UserInput – Text (bound to the text entry field where the learner types their recap)
- Score – Number (1–10 from the AI)
- Band – Text ("low", "mid", or "high" for branching)
- StrengthFeedback – Text
- OpportunityFeedback – Text
- NextStepFeedback – Text
- (Is_Loading – optional True/False variable for a loading layer)
- I created these Storyline variables:
- Slide elements
- A Text Entry field bound to UserInput
- A button labeled something like Get AI Feedback
- A Loading layer that shows while the call is happening
- Three feedback layers (Low / Mid / High) that read:
- Score, Band
- StrengthFeedback, OpportunityFeedback, NextStepFeedback
- Branching logic
- If Score <= 3 → show Low Feedback layer
- If Score between 4 and 7 → show Mid Feedback layer
- If Score >= 8 → show High Feedback layer
- On the Loading layer I use triggers like:
- What the JavaScript does
- It reads UserInput
- Sends it to a single API endpoint as JSON
- Receives JSON back with a score and three coaching messages
- Writes those values into the Storyline variables listed above
- On click of the Get AI Feedback button:
Your IT team could point that same pattern at your internal Copilot agent as long as they expose an endpoint that accepts the learner text and returns JSON.
- Variables in Storyline
I'm so glad this has made you happy 😁 Not at all selfish to build yourself a niche, definitely the way to move with the pace of change. I suggest you have a play with Agents if you're not already, we have developed a couple of Copilot ones that are really helping in the field.
I haven’t used copilot, I’ll have to check it out.
Related Content
- 10 months ago
- 1 year ago