JSON Template Generation
Template Generator is a DIY tool within the Truecaller for Business console that allows marketers to craft their marketing templates and generate a JSON payload for seamless integration with your external systems.
Navigate to the "Verified Campaign" section within your business console and click on "Template Generator" option
Step 1: Campaign identifiers and use case
Campaign Name: Enter the name of your Verified Campaign.
Campaign ID: Enter your campaign's unique identifier, this could be the same external campaign reference or campaign ID that you use in your external system
Campaign Type: Select the relevant type (Lifecycle or Offer).
Step 2: Choose your Display Unit
Select the display unit(s) where your campaign will run:
Caller ID: The message shown when a call is received.
ACS (Answered): The message displayed after a call is answered.
ACS (Missed): The message shown after a missed call.
Message ID: The message shown for transactional message notifications
Each display unit may have different template style options available.
Step 3: Configure PDU template
For each selected Display Unit the parameters of customization are different.
Custom Fields: Enter your message content (title, subtitle, CTA, deeplink, etc.) based on the chosen display unit.
Brand Assets:
Text Colors: Choose a text color that works best with your brand image (Black or White).
Template Theme: Select a brand color for the template theme.
Brand Image: Past the image URL for your marketing (Note : Adhere to recommended dimensions and image storage requirements).
Visual Preview: Review the real-time preview of your message as you make changes.
Error Feedback: Address any error messages that appear regarding missing or incorrect fields.
Save and Generate JSON: Click this button when you're satisfied with your template.
Step 4: JSON Generator
JSON Payload: A formatted JSON payload, based on your template and selections, will be displayed. This payload adheres to the required format for Truecaller's Verified Campaign Webhook endpoint.
Copy: Click the "Copy" button to copy the JSON payload to your clipboard.
Important Notes:
Template Styles: Each display unit may offer different template styles (Plain Text with CTA, Image with CTA, Personalized Content with CTA - image on left/right). Experiment to find the best fit for your campaign.
Image Dimensions: Be sure to follow Truecaller's recommended image dimensions for optimal display and outcomes.
Third-Party Integration: Refer to your external system's documentation to understand how to integrate the generated JSON payload correctly.
Last updated