WEBVTT

00:00.480 --> 00:02.740
Now, here are the main
components of the integration.

00:03.980 --> 00:08.760
Slots in Dynamic Content are mapped to
content slots in Salesforce Commerce Cloud.

00:10.080 --> 00:16.280
When an edition is scheduled in the Dynamic
Content app, a webhook event is generated.

00:16.290 --> 00:21.040
The webhook service will notify the
integration and send it a payload containing

00:21.100 --> 00:22.700
information about the edition.

00:24.180 --> 00:29.900
The integration will use this edition data to
create a campaign in Salesforce Commerce Cloud.

00:30.660 --> 00:34.820
Once the campaign is created, the
integration will request the HTML for

00:34.880 --> 00:37.220
each slot in the edition.

00:37.260 --> 00:42.880
It makes use of the content rendering service
to convert slot content into HTML format.

00:43.660 --> 00:48.800
For each slot in the edition, the integration
will create a slot configuration for the

00:48.840 --> 00:51.580
corresponding slot in
Salesforce Commerce Cloud.

00:52.540 --> 00:56.580
The HTML contents of the slot will
be stored in the slot configuration.

00:57.620 --> 01:02.460
This slot configuration is then assigned
to the Salesforce Commerce Cloud campaign.

01:03.580 --> 01:08.280
If you choose to unschedule the edition in
Dynamic Content, then the campaign and slot

01:08.380 --> 01:10.420
configurations will be deleted.

01:11.140 --> 01:15.870
The content can be previewed in the Salesforce
Commerce Cloud storefront and then scheduled

01:15.940 --> 01:21.780
to go live.
When you create a slot in Dynamic Content, you

01:21.820 --> 01:27.920
can map it to a content slot in Salesforce
Commerce Cloud by setting the slot ID.

01:27.930 --> 01:31.780
This slot maps to the top of the
homepage in our Salesforce storefront.

01:33.300 --> 01:37.420
Here's our winter collection event with
two editions, one with content for the main

01:37.460 --> 01:41.320
promotion and another for
a free shipping offer.

01:41.400 --> 01:47.460
To set up our campaigns in Salesforce Commerce
Cloud, we just need to schedule the editions.

01:49.460 --> 01:53.140
Now let's take a look at what's created
in Salesforce Commerce Cloud now that the

01:53.180 --> 01:54.240
editions are scheduled.

01:55.530 --> 02:00.700
The integration has created two campaigns
corresponding to the names and schedules of

02:00.760 --> 02:04.790
our editions.
There's a campaign for the main promotion and

02:04.860 --> 02:06.220
one for the free shipping offer.

02:07.920 --> 02:14.820
Each campaign contains one
or more slot configurations

02:15.280 --> 02:18.900
containing the content we added
in the Dynamic Content edition.

02:20.780 --> 02:25.600
Each slot configuration contains the
ID of its content slot, in this case,

02:25.660 --> 02:27.100
the main homepage slot.

02:31.580 --> 02:37.460
To see the content that's been generated,
we'll go to the content slots section and find

02:37.480 --> 02:39.000
our main homepage slot.

02:40.360 --> 02:44.680
Here you can see the slot configurations
created when we scheduled our editions.

02:47.400 --> 02:51.720
And if we look at the winter promo slot
configuration, here's the HTML that was

02:51.780 --> 02:53.300
generated by the integration.

02:54.080 --> 02:57.320
This is the content we added
to the Dynamic Content slot.

02:59.120 --> 03:02.640
And here's the slot configuration
generated from the free shipping promo.

03:03.680 --> 03:07.760
Now if we look at the HTML, we can
see the updated banner text with

03:07.800 --> 03:08.880
the free shipping code.

03:11.100 --> 03:14.350
Now that we can see the campaigns
have been set up, let's take a look at

03:14.360 --> 03:15.620
the preview in storefront.

03:17.120 --> 03:20.020
Here's the banner scheduled to
go live on the 1st of November.

03:20.760 --> 03:25.760
The content it's previewing is the HTML
generated by the Dynamic Content integration

03:25.800 --> 03:27.820
when we scheduled the winter promo edition.

03:29.540 --> 03:31.160
And here's the free shipping promotion.

03:33.300 --> 03:38.740
Now, if we preview at a date after the free
shipping promotion has ended, the original

03:38.860 --> 03:44.200
winter banner will be shown because that
campaign was set not to expire on its end date

03:44.540 --> 03:48.440
and so will be displayed until new content is
added to that slot.

