Skip to content

Send request to CustomersDot for free personal and invited signups

What does this MR do and why?

We want to be able to send a welcome email to the following:

  1. Free Business Signups
  2. Free Personal Signups
    • this would require sending a lead down this path in the background which would then hit this path on customersDot to generate the entry in workato as desired for Iterable
  3. Invited users
    • New user only. Do not include someone who is an existing GitLab user.
    • this would require sending a lead down this path in the background which would then hit this path on customersDot to generate the entry in workato as desired for Iterable during the user's signup.

For cases 2 and 3 we do not have the triggers necessary to send an email. We would need a request sent from CDot that we can use in Iterable to trigger the email send.

For case two, it would mean modifying the current request that sends signups to include free personal users as well.

There is a CDot feature flag for a service built in to send trials and SaaS business registrations to Workato.

How to set up and validate locally

  • Setup to simulate SaaS and restart GDK
  • Register new user.
  • On the welcome page select Just me and Join a project.
  • Submit the form. Go to /admin/sidekiq.
  • Make sure you can see CreateIterableWorker failed job:

Screenshot_2023-06-29_at_16.11.03

  • Create new group. Invite new member. Sign out.
  • Visit invitation link from logs. Register new user.
  • Submit the welcome form. Go to /admin/sidekiq.
  • Make sure you can see CreateIterableWorker failed job.
  • Sign out. Register new user.
  • On the welcome page select My company or team and Create a new project.
  • Submit the form.
  • Make sure you cannot see CreateIterableWorker failed job.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #410543 (closed)

Edited by Serhii Yarynovskyi

Merge request reports