Document toolboxDocument toolbox

Blueshift Forgot Password/Password-less Login Setup

Summary / TL:DR: This article provides the necessary steps to setup a Forgot Password or Password-less Login email using Blueshift and Contentful.


Create Email Template

In Blueshift, you will need to create you email template that contains the following:

  • Email Copy

Dear {{user.firstname}},

We noticed a recent request to reset your password. To proceed, click on the link below:

<a href=”{{external_fetch.externalFetchName.Payload.link}}”>Reset Password</a>

If this wasn't you, please disregard this email.

For any concerns, reach out to our Customer Service team.

Best,
Customer Support

You will need to create 2 separate templates for each use case (Forgot Password, Password-less Login)


Create Campaign

You will need to create 2 separate campaigns for each use case (Forgot Password, Password-less Login)

  1. Create a new event triggered campaign, and select ‘When an API endpoint is called' as the Journey Start - https://help.blueshift.com/hc/en-us/articles/4408725214099-Journey-Start#h_01FJ445FM169P9BAZ528QW62M3

  2. Add an email trigger and use one of the templates you created in the previous section

  3. Add the correct Sparkpost adapter

  4. Add a Start Date under the properties tab

  5. Update any other campaigns properties as necessary

  6. Save the campaign

  7. Repeat for the additional use case


COMING SOON: Update Campaign UUID Field in Contentful

  1. Navigate to the Website entry in Contentful where the Reset Password functionality will be used

  2. Update the entry with the campaign UUID’s from the campaigns you created in the previous step

    1. You can copy the UUID from the URL of the campaign on dashboard. For example, if you open a campaign in the Blueshift app, its URL looks like https://app.getblueshift.com/dashboard#/app/campaigns/<CAMPAIGN_UUID>/details

  3. Publish changes



com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-macro' is unknown.