[MUSIC].
>> This video shows how to set
up the LINE social media channel
in Dynamics 365 Omnichannel
for Customer Service,
so your agents can
receive messages from
LINE users in a seamless
user experience.
>> There's just a few prerequisites,
very similar to some
of our other channels.
The main one is that as a business,
when you are setting up your
LINE channel in Omnichannel,
you do need to create
your LINE profile,
and we do recommend creating
your LINE business profile.
Then once you create that profile,
you will then need to create
a developer app where you then
get access to a channel ID,
a channel secret, those
are things that you would
then enter into
Omnichannel, but otherwise,
it's something that comes
prepackaged as part of
the social provisioning
for Omnichannel.
So I've got here on my screen
in the administrative panel,
the first step technically is
you want to go and
create a workstream,
which I already have, so I'm going
to go ahead and skip that step.
Then what you're going to want to
do is go to the Channel section,
and go to LINE and create
a new LINE channel
and fill out the
required information.
Step 1, is really
your account details.
So I'm going to enter in a name here.
The name is purely
just for reference,
it's not your actual LINE
profile or anything,
it's something that you can
reference when you go back to and
look at your LINE
channels that you've
created in the administrative panel.
So for this purpose,
I will go ahead and
create a Podcast Test.
At this point, I'm going
to now need to bounce
out to the LINE developer portal.
So I'm going to go ahead
and bring in a new window
where I've already done all of that.
So what I'll do here is I'll show you
the two steps that you need to do,
these are the prerequisites
that I mentioned earlier.
So one of them is you have
to have a LINE account,
which I do now.
I do have a LINE account,
and right now I'm in
the developer console.
When you're in the developer console,
you do need to create what's
called a Messaging API.
So if I go out to the top here,
you'll see that I've
already created two that
have what's called the
Messaging API Channel.
When you do you do that, when
you create this channel,
you get your channel ID,
you have your channel secret,
and then if I bounce over to
the Messaging API sub tab,
you then can enter your webhook,
and you can enable that webhook,
which are all prerequisites
actually getting LINE set up.
So basically, what I would do here
is grab the channel ID first,
drop it into here, then it's going
to ask for my channel secret,
which is down here,
then my channel access token,
which is one tab over
at the very bottom.
These are all auto-generated by LINE,
when you do create your own,
when you do actually set up
your developer app in the
LINE developer console.
So after I've done that,
I'm going to go ahead
and select a workstream
since we're just going to use
one that already was created.
So at this point, all
I need to do is save,
and what will happen
then is step 3 is
where we will auto-generate
the webhook URL for you,
and then you will have to go and copy
that webhook URL into the
LINE developer console,
thus allowing the two
apps to then communicate.
So we'll just give
this a second to save.
I will note that it does
take an additional,
maybe 30 seconds to a minute for
the actual webhook URL to appear.
So just refresh the page
and boom, here it is.
So I'm going to go ahead
and copy that webhook URL.
Go back to the developer portal,
and here, I've already
entered in here,
but I'm going to go ahead and just
update it as I've entered here,
then this toggle is actually
turned off by default,
so you need a turn this on here
as well, then hit "Update."
Now, there may be a situation
where you cannot turn
on the webhook here,
even though you can enter
in your webhook URL,
and so there's an additional step.
These are all outlined in
the step-by-step guide that
live on docs.Microsoft.com.
But the additional step here
that you may need to do is go
to the LINE official
account manager page,
and all the links are provided
in the step-by-step guide.
What you do is you go
to your Settings tab,
and then you go to your
Response settings,
and by default, it'll
likely be set to chat.
If it is, you need to
switch it to bot here,
and then you need to go
and enable webhooks.
So that's saved and done.
We'll just check here
that this is also done.
So at that point, you're all done.
[MUSIC]
