Installation and Configuration
Pre-Installation Steps
Before installing and configuring the PostGrid package in SFMC, ensure that you have the necessary permissions and access.
Prerequisites
- Admin access to SFMC.
- PostGrid API credentials (Test and Live API Keys).
- A configured SFMC Business Unit.
- Access to Journey Builder, Email Studio, and Data Extensions.
Install and Configure the Package
Log in to Salesforce Marketing Cloud, click on your name in the top-right corner, and then click Setup.
Search for the Installed Packages in the quick find box.

Click on New in the top-right corner.

Enter the package name and description, and click on Add Component.

Select Journey Builder Activity.

Enter the Name, Description, and Endpoint URL, and select Category as Messages.

Select API Integration

Select Server-to-Server.

Select the checkbox for Data Extensions Read and Write permission, Click on the Save button to save the Package.

Copy the Client Secret for future reference.

Post-Installation Configuration
Once the package is installed, configure and deploy the necessary Data Extensions and Cloud Pages.
Deploying Data Extensions and Cloud Pages using JSON files.
Navigate to the Platform and Select Package Manager.

Navigate to the Deployment Tab in Package Manager.

Click on Deploy and Upload a JSON File.

Click Next to validate the package.

Click Deploy to finalize the installation.

Verifying Data Extensions
Navigate to Email Studio.

Click Subscribers and go to Data Extensions.

Check for the deployed Data Extensions:
PostGrid_Logging_Data
QRcode_Tracker_Visit_Details
PostGrid_Credentials_Data
Postcard_Tracking_Data
QRcode_Tracker_Visit
Tracker_Status_Logs
Selfmailer_Tracking_Data
PostGrid_Contact_Data
Letter_Tracking_Data
Any additional fields added to the PostGrid_Contact_Data DE, apart from the key fields (First Name, Last Name, Company, Email Address, Address Line 1, Address Line 2, City, State, Country Code, PostalCode, SubscriberKey (Primary Key) ), will be treated as merge variable fields.
Store PostGrid credential
You need to store your PostGrid live and test the API key to the PostGrid_Credentials_Data
data extension. This ensures that your credentials are automatically retrieved each time you access the custom activity within Journey Builder.
You can still change the API key from the custom activity interface in the journey for testing purposes or a one-time session for that specific Journey.
Webhook setup in PostGrid Account
In your PostGrid account, navigate to the webhook page from the menu. Click on the Create Webhook button in the Top-right Corner.

Add description in the Description field and paste the cloud Page URL in the URL field. Select events to handle by webhook, and after that, click on the Create button.

Updated 21 days ago