Twitter

From Hornbill
Jump to navigation Jump to search

Home > Integration > Business Process Automation & Orchestration > Hornbill iBridge > Twitter

Twitter.png

Introduction

Twitter is an online news and social networking service where users post and interact with messages, "tweets", restricted to 140 characters.

Keep your Twitter followers up to date with what is happening in Hornbill and tickets in real time with Hornbill iBridge

Related Articles

Config

Twitter keysafe.png

In order to integrate with Slack, you will first need to configure, and securely store the authentication credentials for the Slack Account/s you want to use with the Hornbill App.

Configure your Slack account authentication in KeySafe in order to use the Slack options.

In the admin console > System > Security > KeySafe

  • Select on + and select Slack
  • Give the Slack KeySafe a Title (this is the name / identifier for the Slack account as you will see it when using the Integration Call node in your business process)
  • Optionally add a description
  • Select Create Key to save

Once the Key is created, you will need to connect to Slack and your account, in order to authorize the Hornbill App to perform the listed Slack options.

  • Select Connect

You will be redirected to Slack in a pop up window, where you will be required to login to your Slack account, and then you will be prompted to review the option you are authorising the Hornbill App to be allowed to perform with the chosen Slack account, read and then select Authorize

Right your all set........

Managing Slack Configurations

  • Use KeySafe to create, store and enable integrations with multiple Slack accounts for use in your business processes
  • Use the Revoke Access option against a Slack account in KeySafe in order to revoke authentication rights for the Hornbill App to use the account
  • Note, this will revoke the rights of any existing Slack Integration Calls in your business processes, which are using the revoked Slack Account.



Options(Methods)

Read more about using the Integration Call from the Related Articles section, and learn how to work with input and out parameters for each of the Slack options.

Example

In this example, we will choose and configure the Twitter account from which we wish to send a tweet. We'll need to specify using KeySafe the Twitter account and authentication details and authorize the Hornbill app to utilize this twitter account.

Through the business process designer we can then use the Integration Call node to decide where and how often we want to utilize the Twitter integration, configuring the input parameters on each occasion, allowing if required to use different Twitter Accounts via different KeySafe configurations and different messages through the specific input parameters on each Integration Call node.

In this example we will simply use one Twitter account, and define the message to tweet to include variables from the request the business process is running against.

Finally we'll use an output parameter to write the URL of the tweet to the timeline of the request, this is not a required step but is useful for demonstration purposes or even to act as an audit trail