New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding to salesforce campaign members from Mautic campaign #3753
adding to salesforce campaign members from Mautic campaign #3753
Conversation
…force-push-leads-contacts
…g for contact email when pushing Mautic contacts
…force-push-campaign-members
…force-push-leads-contacts
…force-push-leads-contacts
…queme/mautic into salesforce-push-campaign-members
…ay not have synced if a deleted on from a campaign
…force-push-campaign-members
While testing 6.a I cloned the campaign, changed the status and run the campaign commands. When trigger command was run, this happened:
|
It all works except a part of 6.c. SF lead with the same email address as the Mautic contact that Mautic campaign pushed to SF was added to the SF campaign, but SF contact with the same email address was not added to the SF campaign. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SF contact update will be fixed by #3800. So this works well 👍
…force-push-leads-contacts
…queme/mautic into salesforce-push-campaign-members
Works! |
Description:
This PR creates a new fields in the push to integration action in a campaign to be able to add campaign contact to an integration campaign.
Steps to reproduce the bug:
Steps to test this PR:
1.Apply this PR, make sure you have salesforce plugin enabled and fields matched
2. create a new campaign with push to integration action.
3. Select salesforce and see new dropdown fields (Campaign, Campaign contact status)
4. Select a campaign and a campaign contact status.
5. Trigger the campaign and contacts from Mautic should be pushed to Salesforce and put in the Salesforce campaign selected as campaign members
6. Test the following scenarios:
a. If a campaign member doesn't exists Mautic should create the campaign member, if it exists is should update it with it's new status if status is sent.
b. A campaign member that was previously pushed by Mautic was deleted from a campaign in SF, the campaign member should be created again if pushed by a different campaign or same campaign in Mautic.
c. if there is a contact in Mautic and this contact's email address exists multiple times in SF (as a Lead, converted Lead or Contact) all matching SF leads or contacts should be created as campaign members in SF