How LMS Integrations Work for AI Sales Roleplay: iframe, LTI 1.3, and SCORM
Industry Guide7 min read|May 29, 2026

How LMS Integrations Work for AI Sales Roleplay: iframe, LTI 1.3, and SCORM

Dennis Kaczmarowski

Founder, Dialfyne

Share
X / Twitter
LinkedIn

Sales training managers have a familiar problem. They find a powerful AI roleplay tool, their reps love it, and then someone asks: "How do we put this in the LMS?" The answer depends on what you need. Do you just want reps to access the tool from inside their course? Do you need scores in the gradebook? Do you have an IT team that can configure standards, or do you need something that works today with a copy-and-paste?

Dialfyne supports three integration paths: a simple iframe embed for immediate deployment, LTI 1.3 for authenticated launches with automatic grade passback, and webhook-based score forwarding for custom LMS platforms. This post explains how each works, when to use it, and why we built the system this way.

The three ways to connect AI roleplay to an LMS

Every LMS integration is a tradeoff between setup complexity and data richness. The three approaches fall on a clear spectrum.

  • iframe embed — zero setup, no authentication, no grade passback. Best for fast deployment and pilot programs.
  • LTI 1.3 — standard protocol, authenticated user launch, automatic grade passback to LMS gradebook. Best for formal training programs.
  • Webhook passback — custom HTTP endpoint on your LMS, receives scorecard JSON after each session. Best for custom-built platforms or data warehouses.

Most organizations start with iframe to prove value, then move to LTI 1.3 when they need gradebook integration and learner tracking. Webhooks are typically used by enterprises with custom learning platforms or LXP systems that do not follow standard protocols.

iframe embed: the fastest path to live

The iframe embed is exactly what it sounds like. Dialfyne generates a snippet of HTML for each roleplay room. You paste that snippet into any LMS page, assignment, or content module. When a learner opens the page, the roleplay loads directly inside the LMS interface — no new tabs, no separate login, no configuration.

Under the hood, the iframe loads a dedicated embed URL that includes the room identifier. When the learner starts the roleplay, the embedded page creates a session and begins the AI conversation. After the session ends, a scorecard is generated. If the LMS does not need the score, the journey is complete. If it does, the organization upgrades to LTI 1.3 or configures a webhook.

The iframe approach has one important limitation: the LMS does not know who the user is. The roleplay session is anonymous from the LMS perspective. For programs where learner identity and grade tracking matter, LTI 1.3 is the better choice. But for many sales training teams — especially those running voluntary practice or pilot programs — the simplicity of iframe outweighs the need for deep integration.

LTI 1.3: standard-grade integration with grade passback

LTI 1.3 is the modern standard for connecting external learning tools to LMS platforms. It replaces the older LTI 1.1 and 1.2 standards with stronger security (OAuth 2.0 and JSON Web Tokens) and richer data exchange. For sales training, the key benefit is automatic grade passback: when a rep completes an AI roleplay session, their score is sent directly to the LMS gradebook as a percentage or raw score.

Here is how the flow works. The training manager creates an assignment in Canvas or Moodle and selects Dialfyne as the external tool. When a rep opens the assignment, the LMS sends an LTI launch request to Dialfyne with the user identity, course context, and assignment details. Dialfyne validates the launch, creates an authenticated session, and loads the roleplay. After the conversation ends, Dialfyne sends the score to the LMS gradebook via the LTI Assignment and Grade Services (AGS) specification.

The rep never leaves the LMS. They click the assignment, the roleplay opens in the same window, they practice against the AI buyer, and their score appears in the gradebook within seconds. The training manager sees completion rates, average scores, and individual performance without exporting spreadsheets or chasing reps for screenshots.

Why we did not build SCORM support

SCORM is the legacy standard for e-learning content. It was designed for a world where learning content was packaged as a ZIP file of HTML, JavaScript, and media assets that downloaded into the LMS and ran locally. A SCORM package tracks page views, quiz answers, and completion status — all within a self-contained content bundle.

AI roleplay does not fit this model. The conversation is generated in real time by a large language model. The voice synthesis happens on a server. The scoring rubric is evaluated by an AI coach. None of this can be packaged into a ZIP file or run inside a browser sandbox. SCORM was built for content. AI roleplay is a live service.

LTI 1.3 was specifically designed to replace SCORM for external tools and services. It handles authentication, launch, and data exchange without pretending that a live AI conversation is a downloadable content package. For organizations that require standards compliance, LTI 1.3 is the correct modern choice. For organizations that need detailed learning-record tracking beyond what LTI provides, xAPI statements can be sent alongside the LTI grade passback.

Webhook score passback: the custom option

Some organizations run custom-built learning platforms, internal training portals, or data warehouses that do not support LTI. For these cases, Dialfyne offers webhook-based score forwarding. After each roleplay session, Dialfyne sends a signed HTTP POST to a URL you configure, containing the complete scorecard data: overall score, discovery score, objection handling, summary, and full transcript.

The webhook payload includes a secret signature in the X-Webhook-Secret header so your platform can verify that the data came from Dialfyne. Your platform receives the data, validates the signature, and ingests the score into whatever system you use — a custom LMS, a data lake, a Salesforce learning record, or a manager notification system.

Which integration should you choose?

The right integration depends on your timeline, your LMS, and how you use training data.

  • Choose iframe if you need to launch this week, your LMS accepts HTML embeds, and you do not need gradebook integration. This is the most common starting point for pilot programs.
  • Choose LTI 1.3 if you use Canvas, Moodle, Blackboard, or D2L and you want scores in the gradebook automatically. This is the right choice for formal training curricula and certification programs.
  • Choose webhook if you have a custom platform, an LXP, or a data warehouse and your engineering team can ingest signed HTTP payloads. This is the most flexible option for enterprise architectures.

Most Dialfyne customers start with an iframe embed to validate the training impact, then upgrade to LTI 1.3 when they scale to a full curriculum. The iframe takes five minutes to deploy. The LTI configuration takes under an hour. You do not need to choose one forever — you can evolve as your program matures.

Security and privacy considerations

All three integration methods are designed with security in mind. iframe embeds load over HTTPS and run in a sandboxed context. LTI 1.3 uses OAuth 2.0 client credentials, signed JWTs for launch tokens, and encrypted grade passback. Webhooks use HMAC-SHA256 signatures in the X-Webhook-Secret header. No learner data is stored longer than necessary, and all transmissions are encrypted in transit.

For organizations in regulated industries or with strict data governance requirements, LTI 1.3 offers the strongest assurance because it is a standardized protocol with audited security practices. Webhooks offer maximum control because you own the receiving endpoint and can apply your own security policies. iframe embeds are secure for practice scenarios where no sensitive learner data is exchanged.

Related Reading

Related Dialfyne resources

About this guide

Written by Dennis Kaczmarowski, Founder, Dialfyne. This guide is written from Dialfyne implementation work across voice AI, follow-up automation, and sales roleplay workflows, with practical buyer questions prioritized over generic feature lists.

For a live assessment, Dialfyne reviews your call flow, lead sources, training gaps, current tools, and retention requirements before recommending a setup.

Share
X / Twitter
LinkedIn

Ready to implement this for your business?

Book a free audit and we'll show you exactly where your revenue is leaking - and how to stop it.

More Industry Guide Posts