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
You are an absolute legend!!!! I appreciate this SO much, I think this could be a game changer in our organisation. There was already a lot of excitement over the Agent, this will take it to the next level. I'll let you know how we go. Unfortunately, I won't be able to share the finished product as I work for a pharmaceutical company and would be breaking the law, but I can certainly let you know how it's received.
This absolutely made my day, thank you. I am so excited to hear there is already buzz around your Agent!
I totally understand about not being able to share the finished product. I would just be thrilled to hear how it lands and what your teams think of it.
Selfishly, I have also been experimenting with integrating AI like this as a portfolio boost while I look for my next role, so it means a lot to hear that it resonates with someone in the field.
Please do let me know how it goes, and congrats in advance on whatever you build with it.
Related Content
- 10 months ago
- 1 year ago