Odoo Help


Frustrated: Marketing Automation - Activity with Condition

Mishkin Berteig
on 9/1/13, 9:47 PM 2,646 views

So I've figured out, by extensive trial and error (along with the skimpy online documentation) how to get a web form to add a new lead into OpenERP and then how to set up a marketing campaign to notice the new lead and send a (legally required) opt-in confirmation email... and I even developed a really simple link-tracker to embed links into the email that would allow the recipient to confirm their email address, and when confirmed, the state of the lead goes from "New" to "Opt-In Confirmed".


I can't seem to get the second activity in the campaign to trigger. After the confirmation email is sent out, the lead is supposed to get a second email that gives them a free sample report. On that second activity, I have a condition with: resource.web_lead_state=="Opt-In Confirmed"

This should then take any leads that have received the first email and who therefore have their state changed, and then send out the next email.... no?

(BTW, I'm using my own Webform_Lead resource instead of the normal crm.lead resource. I've built this into a custom module which works correctly.)

Bottom line: can someone provide me with samples of Marketing Automation Activities with Conditions?

PS. I've also tried object.web_lead_state=="Opt-In Confirmed"

Mishkin Berteig
on 9/1/13, 9:49 PM

Hi, Would there be anyway for to share how you got this to work. I'm struggling to get the integration to work with WP

dfor mer
on 10/25/13, 11:53 AM

I too would very much like to find out how you managed to establish if the email from odoo was opened/clicked on - this is a basic requirement for marketing automation that odoo marketing campaigns appear to lack but would add immensely to odoo's capability in this area.

Hertford Developments Limited, Kurt Haselwimmer
on 12/16/14, 3:18 AM

Does this sneak peek of link tracking suggest that we would be able to monitor clickthrus to website pages within marketing campaigns ? pic.twitter.com/O1HJ7e4v1P

Hertford Developments Limited, Kurt Haselwimmer
on 1/5/15, 4:44 AM
Mishkin Berteig
On 9/1/13, 10:28 PM

Hmm... Something that's not obvious about this system is that once a resource has been processed by a campaign, adding activity nodes later in the campaign process does not trigger the previous resources to be re-processed. My activity with condition actually DOES work, but I had to create a new lead with the appropriate state to show that it worked.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 9/1/13, 9:47 PM
Seen: 2646 times
Last updated: 3/16/15, 8:10 AM