Social Media Profiles

Note

This feature is available only for managed customers. A special contract is needed to use this feature.

Social media profile integration makes it possible to connect OTRS with social media channels. This allows agents to send and receive messages and communicate with social media users like with customer users. This feature stores the messages in the tickets as articles.

Use this screen to add social media profiles to the system. The social media profile management screen is available in the Social Media Profiles module of the Communication & Notifications group.

Profile Configuration Management Screen

Profile Configuration Management Screen

Manage Facebook Profiles

To add a Facebook profile:

  1. Select Facebook from the Actions widget in the left sidebar.

  2. Fill in the required fields in the General widget.

    General Widget

    General Widget

    Name *

    The name of this resource. Must be unique and only accept alphabetic and numeric characters. The name will be displayed in the overview table.

    Description

    Add additional information to this resource. It is recommended to always fill this field as a description of the resource with a full sentence for better clarity, because the comment will be also displayed in the overview table.

  3. Click on the Save button and follow the instruction steps. You have to save the entered data between all steps.

  4. Read the instructions and create the necessary Facebook resources.

    Step 1: Setup Facebook Developer Account

    Step 1: Setup Facebook Developer Account

  5. Add the access keys.

    Step 2: Access Keys

    Step 2: Access Keys

    App ID *

    Paste the “App ID”. This is located in basic settings of the Facebook App.

    App Secret *

    Reveal and paste the “App Secret”. This is located in basic settings of the Facebook App.

    Access Token *

    Paste the generated token from your Facebook App.

  6. Click on the Check Access button to test the configuration.

  7. Click on the Check Permissions button to test the permissions.

    Step 3: Access Permissions

    Step 3: Access Permissions

  8. Setup Facebook webhooks for the app.

    Step 4: Webhook

    Step 4: Webhook

  9. Click on the Verify Callback URL button to test the configuration.

    Step 5: Verification

    Step 5: Verification

  10. Select a target queue and add automatic response for the messages from Facebook.

Step 6: Incoming Settings

Step 6: Incoming Settings

Target Queue *
Select the queue used for incoming entities.
Auto Response
Add an automatic response used for incoming direct messages. Click on the checkbox to enable it.
  1. Click on the Check Post Permissions button to test the configuration.
Step 7: Deployment

Step 7: Deployment

  1. Select the Go into production checkbox and click on the Save and Finish button.

Warning

Social media profiles can not be deleted from the system. They can only be deactivated by setting the Validity option to invalid or invalid-temporarily.

To edit a Facebook profile:

  1. Click on a Facebook profile in the list of social media profiles.
  2. Modify the fields. Use the Previous Step and the Next Step buttons to navigate between the steps.
  3. Click on the Save or Save and finish button.

Note

If several social media profiles are added to the system, use the filter box to find a particular social media profile by just typing the name to filter.

Manage Twitter Profiles

To add a Twitter profile:

  1. Select Twitter from the Actions widget in the left sidebar.

  2. Fill in the required fields in the General widget.

    General Widget

    General Widget

    Name *

    The name of this resource. Must be unique and only accept alphabetic and numeric characters. The name will be displayed in the overview table.

    Description

    Add additional information to this resource. It is recommended to always fill this field as a description of the resource with a full sentence for better clarity, because the comment will be also displayed in the overview table.

  3. Click on the Save button and follow the instruction steps. You have to save the entered data between all steps.

  4. Read the instructions and create the necessary Twitter resources.

    Step 1: Setup Twitter Developer Account

    Step 1: Setup Twitter Developer Account

  5. Add the Twitter app name.

    Step 2: Twitter App Name

    Step 2: Twitter App Name

    Twitter App Name *

    Enter a Twitter app name.

  6. Add the consumer API keys.

    Step 3: Access Permissions

    Step 3: Access Permissions

    Consumer Key *

    Copy and paste your consumer key from the consumer API key section of the Twitter app.

    Consumer Secret *

    Copy and paste your consumer secret from the consumer API key section of the Twitter app.

  7. Add the access token.

    Step 4: Access Token

    Step 4: Access Token

    Access Token *

    Copy and paste your access token from the Twitter app.

    Access Token Secret *

    Copy and paste your access token secret from the Twitter app.

  8. Click on the Verify Credentials button to test the configuration.

    Step 5: Credentials Verification

    Step 5: Credentials Verification

  1. Select a target queue and add automatic response for the messages from Twitter.
Step 6: Incoming Settings

Step 6: Incoming Settings

Target Queue *
Select the queue used for incoming entities.
Auto Response
Add an automatic response used for incoming direct messages. Click on the checkbox to enable it.
  1. Click on the Save and Finish button.

Warning

Social media profiles can not be deleted from the system. They can only be deactivated by setting the Validity option to invalid or invalid-temporarily.

To edit a Twitter profile:

  1. Click on a Twitter profile in the list of social media profiles.
  2. Modify the fields. Use the Previous Step and the Next Step buttons to navigate between the steps.
  3. Click on the Save or Save and finish button.

Note

If several social media profiles are added to the system, use the filter box to find a particular social media profile by just typing the name to filter.

Limit User Access to Profiles

In case you would like to limit the user access to a certain social media profile, you can use the Access Control Lists (ACL).

In the following example, we restrict the access of members of the group facebook to a Facebook page profile with relevant views. This guide assumes that you have already created this group and assigned users with rw permissions to it.

To identify the profile ID:

  1. Go to the Social Media Profiles module in the administrator interface.

  2. Select the target profile in the list you would like to limit the access to.

  3. Identify the ID of the current profile in the URL of the current page. In our case, the ID is 1.

    ...;ProfileType=Facebook;ID=1
    

To create an ACL:

  1. Go to the Access Control Lists (ACL) module in the administrator interface.
  2. Click on the Create New ACL button in the left sidebar.
  3. Fill in the required Name field with a suitable text.
  4. Set Validity to valid.
  5. Click on the Save button.

To edit and deploy the ACL:

  1. Click in the Match settings field in the Edit ACL structure widget, and select Properties.

  2. Click in the field below Properties and select User.

  3. Type in Group_rw in the empty box below User.

  4. Select Negative Exact Match from the drop-down list below Group_rw and enter the name of the group in the empty field next to it. In this example this is facebook.

  5. Click in the field Change settings and select PossibleNot.

  6. Click in the field below PossibleNot and select Ticket.

  7. Type in FacebookProfileID in the empty box below Ticket.

  8. In the empty box below FacebookProfileID type in the identified value of the profile. In our case, this is 1.

    ACL Rule to Limit Access to Facebook Profile

    ACL Rule to Limit Access to Facebook Profile

  9. Click on the Save and finish button.

  10. Click on the Deploy ACLs button in the left sidebar.

From now on, a user who is not member of the group facebook will no longer have access to the page profile with the ID 1 in the Facebook Page field on the corresponding screens.

In case of a Twitter account, use a different group name (e.g. twitter) and use TwitterProfileID for the field name in step 7 of the ACL creation.