Hello,
I am following this guide (https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…) and I am stuck in the step 2 where I have to register the custom channel in the database.
I assume that firstly I need to add a record in the previously created table where I define a specific Username and Token that the external client will need to use in order to authenticate the messages sent within my custom channel. Therefore, I understand that the Id of the created record must be used in the [MsgSettingsId]
column of the Channel table. However, I don't know what I must introduce in the [Source]
column. As stated in the article:
[Source]
: The channel ID in the messenger, such as the Facebook page ID or Telegram client ID. Lets you identify the recipient by a messenger message.
I noticed that for Facebook, that field stores the Facebook user ID that will be resolved in the URL ">https://facebook.com/[user_id] which redirects to /">https://www.facebook.com/people/[user-name]/[other_id] and in WhatsApp the URL is ">https://wa.me/[phone_number] which redirects to &text&type=phone_number&app_absent=0">https://api.whatsapp.com/send/?phone=%2B[phone_number]&text&type=phone_number&app_absent=0.
If I set a random string for the [Source]
column and I try to check the information in the ChatSettings I get the following error when I click on the channel name:
"invalid channel type"
But what is the channel type? What does that mean and how is it resolved by Creatio?
In my case, I want to setup the communication between Creatio and a external chatbot. What exact value should I set in the [Source]
column for my custom channel provider?
Regards