Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-04-10 04:11 AM
I am implementing a project using simple-salesforce so I can manage and trigger events on Salesforce Marketing Cloud. The problem I have encountered is that the documentation is not explicit if I can use simple-salesforce to access the Marketing Cloud endpoints.
I've noticed even that the login method on simple-salesforce can't be done by the Salesforce Marketing Cloud credentials. When I try to do this I get:
SalesforceAuthenticationFailed: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
Did someone have the same issue? Can I access the Salesforce Marketing Cloud through simple-salesforce?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-11-23 04:54 AM
One option is to use the Marketing Cloud REST API directly with the help of the requests library. This will allow you to interact with Marketing Cloud endpoints and trigger events. Another option is to explore the Fuel SDK, which provides a wrapper around the API and might offer more convenience. As for the issue you encountered with the login, it's possible that the credentials you're using are not valid for the Marketing Cloud. Double-check if you're using the correct username, password, and security token. If you're still facing difficulties, reaching out to Salesforce support might be helpful.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-11-24 07:08 AM
Leveraging the Salesforce Spoke for user creation is a solid step. Regarding your bi-directional integration challenge, I haven't personally implemented this exact setup, but I've worked on similar integrations. A common hurdle is ensuring that the Salesforce webhook is correctly configured to trigger updates for the Salesforce Cases table. Since you mentioned success with a single ID update, it suggests your basic setup is correct.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-11-24 10:03 AM
To interact with Salesforce Marketing Cloud, you typically need to use the Marketing Cloud API, which requires a different set of credentials and a distinct setup. The Salesforce Marketing Cloud has its own REST and SOAP APIs, and you might need to use the Fuel SDK for Python or a similar library specifically tailored for Marketing Cloud integrations.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.