Twitter Connector User Manual
  • 29 Mar 2022
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Twitter Connector User Manual

  • Dark
    Light
  • PDF

Article summary

SAMPLE FLOWS

We have provided a sample flow to archive posts from Twitter to Content Manager. The sample flow will help you get set up with the Twitter connector and can be used as a basis to design other flows:

  • Twitter to CM Flow - This flow will archive posts/comments from Twitter to CM

Prior to importing the sample, you need to create two connections in Power Automate:

  • Power2CM Connection
  • Twitter Connection

CREATING A POWER2CM CONNECTION

  1. Once you have logged into Power Automate, click on Connections in the left menu under Data
    2020-09-23_15-03-16.png

  2. Click New connection
    2020-09-23_15-04-08.png

  3. Type Power2CM into the search bar and click on the Power2CM Connector (name may vary depending on the name given for the connector in the Power2CM Installation Guide)
    2020-09-30_15-44-03.png

  4. Enter your Content Manager username and password into the username and password fields respectively

  5. Click Create
    2020-09-30_15-45-26.png

  6. Your connection will now appear in the list of Power Automate connections. The status should say Connected
    2020-09-30_15-47-27.png

CREATING A TWITTER CONNECTION

  1. Once you have logged into Power Automate, click on Connections in the left menu under Data
    2020-09-23_15-03-16.png

  2. Click New connection
    2020-09-23_15-04-08.png

  3. Type twitter into the search bar and select the Twitter Connector
    2020-09-23_17-00-23.png

  4. Select Use default shared application and Click Create
    image.png

  5. Enter your Twitter username and password and click Authorize App
    2020-09-23_17-02-59.png

  6. Your connection will now appear in the list of Power Automate connections. The status should say Connected
    2020-09-30_17-03-18.png

IMPORTING THE FLOW

  1. Once you have logged into Power Automate, click on My Flows in the left menu
    2020-09-23_15-21-48.png

  2. Click Import
    2020-09-23_15-24-46.png

  3. Click Upload
    2020-09-23_15-25-45.png

  4. Select the Twitter to CM flow.zip file and click Open
    2020-09-23_17-26-59.png

  5. Once the file has finished uploading, you will be taken to the page below
    2020-09-23_17-32-29.png

  6. The connectors/connections (resources) found in the Related Resources table will need to be mapped to your current connectors/connections. This can be achieved by clicking the Select during import button found in the IMPORT SETUP column and choosing the correct resource.

EXPORTED RESOURCERESOURCE TO MAP
Power2CM ConnectorSelect Power2CM and click Save
Twitter ConnectionSelect the existing Twitter connection (username will be different) and click Save
Power2CM ConnectionSelect Power2CM and click Save

Each time a resource is mapped, its icon will change from to

  1. Click Import
    2020-09-24_8-26-16.png

  2. You will receive a success message at the top of the page once your flow has imported successfully
    2020-09-24_8-28-06.png

UPDATING THE FIELD VALUES

  1. Open to the Twitter to CM flow that was imported in the IMPORTING THE FLOW section
    2020-09-24_8-29-48.png

  2. Click on the Get user timeline action
    2020-09-24_8-30-20.png

  3. Enter the Twitter handle of the user you would like to archive posts from (excluding the "@" symbol)
    2020-08-27_15-13-02.png

  4. Click on the Apply to each action
    2020-09-24_8-33-11.png

  5. Click on the Create Record in CM action
    2020-09-30_17-04-44.png

  6. Enter the URI of the record type that you wish to use into the Record Type field. Enter the record number of the container you wish to capture the posts in the Container field
    2020-09-30_17-06-23.png

All other fields are set up with baseline values. If you wish to adjust these you can do so by clicking into the field, a popup will appear on the right with available data that can be entered. For more information on the values available from the Twitter Connector, click here

  1. Click Save
    2020-09-23_16-08-24.png

  2. Your flow will be disabled by default. To enable it, click the Left Arrow button
    image.png

  3. Click Turn on
    image.png

Your flow will now run once a day. Records already created from previous flows will be updated using the id supplied in the Id field of the Create Record in CM action.

ERROR HANDLING NOTIFICATIONS (OPTIONAL)

Power2CM contains the ability to provide email notifications of any errors that occur during the transfer process. This email will be sent once per day. If this error notification is required to be sent after a failed processed request, an additional step can be included in a flow to allow for an instantaneous message to be sent to the nominated person.

Below is an example of error handling for a facebook flow, this can be completed for all types of flows.

To add an error handling step to the end of the connector, complete the following:

  1. Select the flow to change, Click Edit
    2022-01-25_11-13-47.jpg

  2. Click the New Step Button , this will add the step to the end of the flow
    2022-01-25_11-12-43.jpg

  3. Click the Notifications Operation
    2022-01-25_11-16-15.jpg

  4. Select the preferred notification type, Email or Mobile Notification, fill out the required details required.
    2022-01-25_11-19-20.jpg

  5. Click the '...' menu in the top right of the action, and click Configure Run After item.
    2022-01-25_11-20-10.jpg

  6. Check the Has Failed and Has Timed Out check boxes only, Click Done
    2022-01-25_11-21-56.jpg

  7. Click Save.
    2022-01-25_11-23-38.jpg

  8. Repeat process above for any other flows desired.


Was this article helpful?