Zapier pulling old data
BluejacketScott opened this issue · 8 comments
Please DO NOT report security vulnerabilities here. Send them to security@mautic.com instead.
What type of report is this:
Q | A |
---|---|
Bug report? | x |
Feature request? | |
Enhancement? |
Description:
Unnoticed before but version 2.13.1 has an issue where the Zapier integration trigger: Contacts points changed fires but does not pull the current points value. For example, when the contact's points change from 2 to 4, the event fires but the data it has bundled shows 2 points, not four.
If a bug:
Q | A |
---|---|
Mautic version | 2.13.1 |
PHP version | 7.0.28 |
Steps to reproduce:
- Create contact
- Create open email point gained rule
- Create opened URL point gained rule
- Add contact to multi email campaign with url links
- Open emails and pull remote data . -> Points increase as required
- Click link in email -> Points increase as desired
Steps 5 and 6 fire the event and Zapier sees the data but the point total is wrong.
Is it supposed to be the total accumulated points or is it the number of points gained? Maybe that's the problem. If it is the number of points gained instead of total points accumulated then it's useless as I need a minimum total points to use as a filter for the Zap.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Label: Bug
If I manually update a point count then the trigger works fine but when it's updated due to actions, then it pulls old data.
Verified that my hypothesis was incorrect. By manually updating points to 5, the zap pulls the total points so that means it's not pulling the point delta but rather the point total.
I'm having the exact same issue with the latest version of Mautic. When Zapier triggers it's getting the previous value of the contacts points. It's almost as if the latest event isn't being added to the calculation on triggering. It's not pulling the number from the contact so I can only assume it is storing the point changes as individual events and just calculating as needed. Maybe it's a time thing?
What's doubly strange is that a few days ago this connection was working flawlessly. The points were being mirrored perfectly in real time. Now all of a sudden it's grabbing old data.
I did find a kind of work around though. I created another campaign that with add one point and detract it again and then remove them from that campaign. Then I created a Point Trigger to add them to that campaign once they were above a certain points.
It's Bass Ackwards. But it works for my needs right now.
@npracht is this something that might be worth looking at with the new plugin? Not sure if it is still an issue or if the new plugin might address this bug.
@RCheesley can you move that issue to zapier repo ?