Contact Us

May 27, 2024

June 18, 2026 11:28 am

Hosting and managing content in external systems with Salesforce Marketing Cloud

Share with

Understanding the Process

To manage content in an external system like Sitecore Content Hub, you need to create a process that allows you to access and retrieve the content from the external system. This can be done by creating a cloud page that hosts all the necessary information to create a campaign, such as subject line, sender name, campaign name, and link to the asset.

Once you have the content in SFMC, you can use APIs to create a data entry to either create a new campaign or update an existing one. You can then use APIs to build the content for the chosen channels, such as email or SMS.

Using APIs to Create and Send Messages

To create and send messages using SFMC APIs, you need to follow a series of steps. First, you need to create a send definition using the SFMC API. This involves creating a JSON object that contains all the necessary information for the send, such as the email or SMS content, the sender and recipient information, and the send settings.

createSendDefinition.js

var sendDefinition = {
  "name": "My Send Definition",
  "description": "This is my send definition",
  "content": {
    "email": {
      "subject": "My Email Subject",
      "html": "My Email HTML Content"
    },
    "sms": {
      "message": "My SMS Message"
    }
  },
  "sender": {
    "name": "My Sender Name",
    "email": "[email protected]"
  },
  "recipients": [
    {
      "email": "[email protected]"
    },
    {
      "email": "[email protected]"
    }
  ],
  "sendSettings": {
    "sendDate": "2023-03-01T12:00:00.000Z"
  }
};

Once you have created the send definition, you can use the SFMC API to trigger the send process. This involves making a POST request to the SFMC API with the send definition JSON object.

The root cause of the complexity in managing content in external systems with SFMC is the need to integrate multiple systems and APIs. This requires a deep understanding of the SFMC API and the external system’s API, as well as the ability to create custom solutions to integrate the two systems.

Best Practices and Considerations

When managing content in external systems with SFMC, there are several best practices and considerations to keep in mind. These include:

Checklist

  • Use a cloud page to host all the necessary information to create a campaign
  • Use SFMC APIs to create a data entry to either create a new campaign or update an existing one
  • Use APIs to build the content for the chosen channels, such as email or SMS
  • Use a send definition to trigger the send process
  • Test and validate the integration to ensure it is working as expected
  • Monitor and troubleshoot the integration to ensure it continues to work as expected

In addition to these best practices, there are also several considerations to keep in mind when managing content in external systems with SFMC. These include:

What is the best way to integrate SFMC with an external system?

The best way to integrate SFMC with an external system is to use APIs to create a custom solution that meets your specific needs.

How do I troubleshoot issues with my SFMC integration?

To troubleshoot issues with your SFMC integration, you should first check the SFMC API documentation to ensure you are using the correct API endpoints and parameters. You should also check the external system’s API documentation to ensure you are using the correct API endpoints and parameters. If you are still having issues, you can contact SFMC support for assistance.

What are some common mistakes to avoid when integrating SFMC with an external system?

Some common mistakes to avoid when integrating SFMC with an external system include not testing and validating the integration, not monitoring and troubleshooting the integration, and not using the correct API endpoints and parameters.

How do I ensure my SFMC integration is secure?

To ensure your SFMC integration is secure, you should use secure API endpoints and parameters, such as HTTPS and authentication tokens. You should also ensure that your external system is secure and that you are using secure protocols to transmit data between the two systems.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert