Need a follow up email trigger

Highlighted
New Contributor

Hello,

 

I am working on several landing pages but when I test one of them, I don't receive a follow-up message. I do have a followup email field when I click on forms so I'm able to pick and choose my emails. But, I realize that I don't have a boolean field type to toggle sending follow-up messages so I'm trying to work on it on design manager. 

 

LP example: https://app.hubspot.com/content/5852857/edit/11280919116/content

 

My first step was just searching/adding a field type that would allow me to toggle follow up emails. However, I couldn't find one so I added a boolean type (i.e. Send a follow up email*). While it shows up on the form, it doesn't function (still can't receive emails). And I need help to make it work. 

 

Screen Shot 2019-07-16 at 6.00.19 PM.pngfields

^ This is the fields that I see.

<div class="banner custom-banner-wrapper" id="{{ name }}" {% if module.banner_options.background_type == "image" %}style="background-image: url('{{ module.banner_options.background_image.src }}');"{% elif module.banner_options.background_type == "color" %}style="background-color: {{ module.banner_options.color_field.color }};"{% endif %}>
  {% if module.banner_options.background_type == "video" %}
    <video autoplay muted loop class="banner-video">
      <source src="{{ module.banner_options.video_file }}" type="video/mp4">
    </video>
  {% endif %}
    <div class="row-fluid">
            <div class="page-center">
              <div class="banner-content">
                 {% if module.banner_top_title %}   <p>
                   <b>
                     
                     {{ module.banner_top_title }}
                    </b>
                  </p>
             
                  {% endif %}
                     {% if module.banner_title %}<h1>{{ module.banner_title}}</h1>{% endif %}
                  <div class="banner-content-wrapper clearfix">
                    <div class="banner-left-content">
                        {% if module.banner_content  %}<p>{{ module.banner_content  }}</p>{% endif %}
                        {% inline_rich_text field="richtext_field" value="{{ module.richtext_field }}" %}
                    </div>
                          {% if module.banner_form  %}
                  
                     <div class="banner-right-content">
                       {% form
	form_to_use="{{ module.banner_form.form_id }}"
	response_response_type="{{ module.banner_form.response_type }}"
	response_message="{{ module.banner_form.message }}"
	response_redirect_id="{{ module.banner_form.redirect_id }}"
	response_redirect_url="{{module.banner_form.redirect_url}}"
	gotowebinar_webinar_key="{{ module.banner_form.gotowebinar_webinar_key }}"
%}
                    </div>
                    {% endif %}
                  </div>
                    
             
                </div>
           </div>
        </div>
    </div>

^ This is the code that I see. 

 

I don't have much coding experience. Need help!

Reply
0 Upvotes
1 Reply 1
HubSpot Moderator

Hi @echow22,

 

Looking at your page, I think maybe you got this working already? I haven't tested it out on my end yet, but typically for something like this I'll clone a drag-and-drop version of a template to HTML. So for example: create a drag-and-drop template, then add a form to it, and make sure that the form has a follow-up email selected. Then clone the template to HTML and see what the Design Manager is using for the code. In your case, I think the parameters you needed were:

 

follow_up_type_simple=True,
simple_email_for_live_id=XXXX

So you could add a follow-up email field. And then take the value from that field and set it as the value for the simple_email_for_live_id parameter in the form field's snippet.

 

If you are still having trouble, let me know and I'll take a closer look.

 

Leland Scanlan

HubSpot Developer Support
Reply
0 Upvotes