Reply
Solution Provider
richflyte
Posts: 4
Registered: ‎11-01-2008

Welcome eMails tailored to specific lists

Can someone please point me in the right direction for documentaion that deals with creating a custom welcome email for a specific email list via the API (php). I have been told by support that the documentation is here somewhere but it is certainly not easy to find if it is.

 

Thanks!

CTCT Employee
bsoder
Posts: 440
Registered: ‎06-05-2009

Re: Welcome eMails tailored to specific lists

Hello,

 

I apologize for the confusion.  While technically it would be possible to create something in our API that sent an email to an email address when they signed up to the account, based on the list that they signed up to.  Our system is not really designed to do this.  In the methods that are set up to do automatic emails, the welcome email and autoresponders, they can only be set up per account.  So that you can have one autoresponder going out to a set of lists, but you cannot have a second autoresponder on a different set.  The welcome email also can only go out to people who are signed up "by contact", and does not differ between lists.

 

The only work around would be to create a complex system where as a contact signs up, it is assigned to an additional, but empty list, and then an email is created and scheduled for that list.  Once the contact gets the email, he would be removed from the list and it would have to be repeated.  While this is possible, it is not really a great way to do it, and again, our system is not really designed to be used in that way.

 

If you have any questions please let me know.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Member
LauraD238
Posts: 1
Registered: ‎10-28-2011

Re: Welcome eMails tailored to specific lists

There are two ways I have been able to this.  The first is to use multiple constant contact accounts and have multiple API's on your website sending to different accounts. Just make different welcome emails on each account.

 

The other option if you are using WordPress is to use Katz Web Services Constant Contact API along with Contact Form 7. Katz put out an additional plugin called "Contact Form 7 & Constant Contact" that you can use to make seperate forms on your WordPress site and assign them to specific list. There is an Email Auto responder functionality in Contact Form 7, so you can tailor specific welcome letters. Just remove the welcome letter from Constant Contact and you are all good.

 

Hope that helps.

 

 

Mark-C
Posts: 181
Topics: 3
Kudos: 10
Solutions: 14
Registered: ‎07-23-2011

Re: Welcome eMails tailored to specific lists

Great ideas, and I know the Katz Contact Form 7/Constant Contact integration works very well.

 

Mark Coleman
Support Engineer
Occasional Participant
NathanS377
Posts: 3
Registered: ‎10-25-2012

Re: Welcome eMails tailored to specific lists

I know this thread is old, but it seems to be the most current. I'm using gravity forms + Katz Web Services CC+GF plugin and want to send welcome emails tailored to multiple lists. I understand the logic of LauraD238's approach and the 2nd option would work great for me except that I can't figure out how to remove the welcome letter from CC. I've found various references around the CC forms that say it isn't possible or that it can be done by changing all PHP references from ACTION_BY_CONTACT to ACTION_BY_CUSTOMER, but that didn't work for me.

Shannon_W
Posts: 707
Topics: 11
Kudos: 43
Solutions: 38
Registered: ‎10-24-2011

Re: Welcome eMails tailored to specific lists

Hi,

 

You're correct, the solution should be to change your optInSource to action by customer instead of action by contact.  I just tested and when I set the opt in source to action by customer, the welcome email isn't set out (as it shouldn't be).  Can I see the code you're using to add contacts (with your credentials removed)?

 

Best Regards,

Shannon W.

API Support Specialist

Occasional Participant
NathanS377
Posts: 3
Registered: ‎10-25-2012

Re: Welcome eMails tailored to specific lists

Hi Shannon,

 

Thanks for the help!

 

I'm using the Katz plugin "Gravity Forms Constant Contact Add-on" found here: http://wordpress.org/extend/plugins/gravity-forms-constant-contact/

 

There are 3 instances of ACTION_BY_CONTACT in constantcontact.php.

line 534

line 1150

and line 1151

I tried changing each to ACTION_BY_CUSTOMER.

Still got confirmation emails.

 

There's also this reference in the plugin's readme.txt:

= How do I prevent opt-in confirmation emails? =

To disable "Confirmed Opt-in", add this code to your theme's `functions.php` file:

`
add_filter('gravity_forms_constant_contact_action_by', 'return_action_by_customer');
function return_action_by_customer() { return 'ACTION_BY_CUSTOMER'; }
`

 I restored constantcontact.php to its original state and added the code to functions.php, but still get the confirmation email.

 

Nathan

Shannon_W
Posts: 707
Topics: 11
Kudos: 43
Solutions: 38
Registered: ‎10-24-2011

Re: Welcome eMails tailored to specific lists

[ Edited ]

Hi Nathan,

 

Do you have confirmed opt-in on in your account? 

 

You can check by logging into your account, going to "My Settings" at the top right, and then look on the righthand side to see whether confirmed opt-in is ON or OFF.

 

Best Regards,

Shannon W.

API Support Specialist

Occasional Participant
NathanS377
Posts: 3
Registered: ‎10-25-2012

Re: Welcome eMails tailored to specific lists

Confirmed Opt in is currently set to off.

Shannon_W
Posts: 707
Topics: 11
Kudos: 43
Solutions: 38
Registered: ‎10-24-2011

Re: Welcome eMails tailored to specific lists

Hi Nathan,

 

I downloaded the plugin you're using from Wordpress/Katz, and see that the opt in source is set on line 25 of cc_class.php (inside their api folder in the download).  Can you verify that this is set to ACTION_BY_CUSTOMER to suppress the welcome email?  It looks like it is set to action by contact by default.

 

Best Regards,

Shannon W.

API Support Specialist