Building Seamless Course Links with Automated Flow Method

Use the automated flow method to build your seamless course links when you want a scalable solution that has low service dependencies. This method is easily scalable, but requires signature generation for individual links.

Seamless access removes friction from the user journey, resulting in higher completion rates which in turn leads to behaviour change across your organization and tangible business results. Seamless links securely take your users directly to their learning content, without the need for logging in. They increase course completion rates by removing barriers to accessing content.

What's covered

Why use a seamless course link

What is a seamless course link

Building course links

Webhook approach

Public API approach

Testing course links

Embedding links within your app

Native mobile app

Web app

Estimated time frame for launch

Why use a seamless course link

Seamless course links are a great way to direct learners to specific content. A course then is comprised of multiple activities and will generally have content that takes more than a few minutes to complete in its entirety.

If a learner exits a course link before completing the entire course they can return to where they left off by clicking the course link and they will be able to start on the next incomplete activity.

Seamless course links are one of the most popular seamless link types. This is largely due to their versatility to address specific training opportunities with specific content. Examples of use cases are:

  • Triggered content - delivering a course to learners that have exhibited certain behaviours such as lower than average ratings.
  • Mandatory training - delivering mandatory content, with the assistance of webhooks to let your system know when the mandatory training is complete.
  • Training in the flow of work - delivering related courses at the point of need detailing a learner how to complete actions needed then and there.

What is a seamless course link

A seamless link allows you to add new learners, direct them to content, and assign them to teams without having to sign in. Each link requires a signature that authenticates the user and the link itself.

Content Required Parameter Source
c/ course ID Get List Courses API
    Course Level Webhooks
    Admin panel (Base link)
g= team ID Get Group Details with Teams
    Course Level Webhooks
    Admin panel (Base link)
e= your user ID Determined by you
sig= signature Created per link by SHA256 encryption of personalised URL & secret

 Anatomy of a seamless link

Building course links

To generate an automated flow you need to get the relevant IDs from eduMe for:

  • Course ID for the course (content) you want your learners to take
  • Team ID for the team that the learner will be assigned to once they click the seamless link

You can get these IDs from the seamless base links from within the admin panel, however this isn’t scalable as each time you want to add a new course or different type of content someone will have to get the base link to the development team to make changes.

We offer a couple of options for you to choose from:

  • Webhooks - once set up these can send relevant IDs to your back end
  • Public APIs - once set up these can request IDs when you need them

Webhook approach

Prerequisites

  • You're an eduMe customer.
  • You have a destination URL/data receiver (or multiple) for the webhooks to be sent to.
  • You have technical or developer resources.

To enable webhooks, please reach out to your dedicated customer success manager, or contact our support team (support@edume.com), including the destination URL(s) you require.

Note: You can also activate learner level webhooks to support mandatory training flows. For more information, refer to our Webhooks document.

Procedure

Once webhooks have been enabled you can use a flow like the one below to automatically generate seamless links from the course level webhooks.

Sample flow to generate seamless links from course level webhooks

Public API approach

Prerequisites

  • You're an eduMe customer with a company admin account.
  • You have technical or developer resources.

Generating an API key

  1. Navigate to the API Keys page in your account using the following link: https://admin.edume.com/settings/developer-tools/api-keys. Alternatively, navigate to Settings in the top bar of your eduMe account and choose Company Settings > API Key.
  2. Select + Create API Key.
  3. Select the Access level details and choose Create API Key.

You can now copy the API key you've created using the clipboard icon available on the right of the API key.

Public APIs can be used to request differentkinds of data from eduMe. For seamless link generation you can call for:

  • Course details - Use the List course API to request course details.

    Query parameter Source
    Group ID Use the Get Group Details with Teams API with the groupId parameter empty
  • Team info - Use the Get Group Details with Teams API with groupId value in the query parameter

Here’s a flowchart that you can use as inspiration for your automated flow:

Sample flow to generate seamless links from eduMe API

Generating Signing Secret

  1. Navigate to the Signing Secrets page in your account using the following link: https://admin.edume.com/settings/developer-tools/signing-secrets. Alternatively, navigate to Settings in the top bar of your eduMe account and choose Company Settings > Signing Secrets.
  2. Select the clipboard next to your signing secret to copy.

Generating Signature

  1. Locate the URL for the relevant content. These links could’ve been shared when coordinating content creation.

  2. Add your User ID as a query parameter.

  3. Create signature of step 2 URL (SHA256 HMAC of secret and step 2 URL).

  4. Add signature to URL as sig query parameter.

  5. Store and share user-specific and signed URL as appropriate.

    Here’s a sample code snippet (Node.js) for your reference:

    import crypto from 'crypto';

    const generateSignature = (urlWithUserId, secret) => {
    return crypto
    .createHmac('sha256', secret)
    .update(urlWithUserId)
    .digest('hex');
    }

    const courseId = 123;
    const teamId = 5;
    const userId = 'abc123';

    // store more securely! (e.g. as an environment variable)
    const secret = 'secret_from_edume';

    const url = `https://learn.edume.com/e/m/${coursdeID}?g=${teamId}&e=${userId}`;
    const signature = generateSignature(url, secret);
    const finalUrl = `${url}&sig=${signature}`;

Personalize the base link

  1. Add the external User ID to the link.
  2. Add the link signature.
    Note: Link signature is a hash of the rest of the link, which we use to verify that the URL was legitimately created by the client.

Here's how the personalised link should look for a course link:

<https://api.edume.com/public/getCourseLink?courseId={courseId}&teamId={teamId}&externalUserId{eId}>

Testing course links

In case of incorrect query parameters, your API request will return errors.  If you receive a seamless link in the API response, the link should take you directly to the course.

Contact your customer success manager or our support team if your link does not direct you to the right place.

Embedding links within your app

Seamless links are URLs that direct to content. Their behavior is determined by the type of application they are being implemented into.

Native mobile app

Load the seamless link URL within an in-app browser to enable easy navigation back to your app once the training is complete.

Web app

Load the seamless link within a new browser tab, allowing the user to navigate back to the web app once training is complete.

Estimated time frame for launch

Based on data we've gathered from our customers, here's what we know:

Seamless link generation:  2 day engineering effort

Webhook integration: 3 day engineering effort

Note: These are average estimates based on our customers' experiences. The time to launch can vary depending on multiple factors such as your release cycle, testing time, and specific workflows you build.