Creating an 'invite a colleague' email workflow

EloiseFrancis
Participant

We're a bit stuck on trying to set up a specific workflow and hoped someone might have some ideas! The workflow would act as follows:

  • Contact would submit a colleague invite form - they would submit a friend/colleague's name and email address here.
  • The first contact will receive an email confirming their form submission.
  • The invited colleague would then be created as a new contact in our CRM, and receive an email that says "You have been invited by [first contact name]..."

How would we go about this?! Thanks in advance!

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Hi @EloiseFrancis,

 

Have you considered that the form is simply submitted by the first person, on behalf of the second? That would be a lot easier in this regard.

 

If that's no an option, here's what you'd have to do:

  1. On the contact object, create the following properties:
    1. Invitee first name
    2. Invitee last name
    3. Invitee email
    4. Invitee invited by
  2. Create a contact-based workflow that enrolls contacts when they submit the form, then use the 'Create record' workflow action to create a new contact record
    1. Set first name of the newly created contact to value of 'Invitee first name'
    2. Set last name of the newly created contact to value of 'Invitee last name'
    3. Set email of the newly created contact to value of 'Invitee email'
    4. Set invitee invited by of the newly created contact to value of 'First name + Last name'
  3. Create a separate workflow that enrolls newly created contacts based on 'Invitee invited by is known', then send automated email with a personalization token 'Invitee invited by'

Keep in mind that this will fail if the newly created contact already exists. They're workarounds for that using association labels but they're frankly too complex to lay out in written in a community post. Essentially, one would check if an existing record exists, apply the association label, enroll contacts into the workflow from step 3 based on the association label.

 

Overall, just having the invitation form submitted by the first person on behalf of the second is by far the easiest route.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

0 Upvotes
1 Reply 1
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Hi @EloiseFrancis,

 

Have you considered that the form is simply submitted by the first person, on behalf of the second? That would be a lot easier in this regard.

 

If that's no an option, here's what you'd have to do:

  1. On the contact object, create the following properties:
    1. Invitee first name
    2. Invitee last name
    3. Invitee email
    4. Invitee invited by
  2. Create a contact-based workflow that enrolls contacts when they submit the form, then use the 'Create record' workflow action to create a new contact record
    1. Set first name of the newly created contact to value of 'Invitee first name'
    2. Set last name of the newly created contact to value of 'Invitee last name'
    3. Set email of the newly created contact to value of 'Invitee email'
    4. Set invitee invited by of the newly created contact to value of 'First name + Last name'
  3. Create a separate workflow that enrolls newly created contacts based on 'Invitee invited by is known', then send automated email with a personalization token 'Invitee invited by'

Keep in mind that this will fail if the newly created contact already exists. They're workarounds for that using association labels but they're frankly too complex to lay out in written in a community post. Essentially, one would check if an existing record exists, apply the association label, enroll contacts into the workflow from step 3 based on the association label.

 

Overall, just having the invitation form submitted by the first person on behalf of the second is by far the easiest route.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 Upvotes