
August 9, 2020 - Esha Garg
Technical Marketer's Monthly Meeting: Content Builder Block SDK
Speakers: Jenny Shorter, Bobby Wilkes, Rashmi Singh, Thomas Besluau
What is Content Block?
Standard content creation tools
Examples
● Basic
○ Text, Image, Button
● Advanced
○ Einstein, Dynamic Content
● Interactive
○ Interactive Email Form
● Social Media
○ Social Follow, Social Share
● Custom
○ Your own block(s) created using CB Block SDK
○ Block(s) built by Partners/others available on the
AppExchange


1. Custom Block Example
-
Deliver dynamic offers in an email using a custom block
-
Dynamic offer codes connecting unique consumers & their behaviors
-
Populates coupon codes at the moment of open of the email
-
Powerful A.I. functionality to deliver ideal Offer-Value to each subscriber

Get your custom block working in Content Builder
Block SDK- Basics
Set Dynamic content with setContent

Best practices to consider
-
Super Content is for previewing, Content is for sending
-
Set Data to maintain state between edits
-
Update the canvas in real-time
-
Keep in mind your end-user
-
Design responsively
-
Use Lightning Design System for a consistent look and feel
-
Think security first and by default
Resources to help you as you start building blocks
SDK Codebase
● Github: https://sfdc.co/blocksdk
● NPM: https://bit.ly/2Q0vggy
Example Google Drive Block
● https://sfdc.co/fT4ln
Testing Your Block
● Block tester: https://bit.ly/2xzxv42
Provisioning
● https://sforce.co/2Ny0jDX
Help Documentation
● https://sfdc.co/blockdoc