Create link
In the app: open the customer menu and choose New Link. From the terminal:- Tied to a customer: add
--customer ws_XXXXXXXXand the connected channel lands in that existing customer. - Open: leave it untargeted and a new customer is created the moment someone connects through it.
--channel-type accepts whatsapp, instagram or facebook. A facebook link connects the customer’s Page and, when one is linked, its Instagram account into the same workspace.
Set successRedirectUrl, failureRedirectUrl, and connectedNotificationUrl when you create a link to know the moment a customer’s connect succeeds or fails. See Connection events.