- Print
- DarkLight
- PDF
Instagram Pro Connector User Manual
OBTAINING THE INSTAGRAM PROFILE ID
Before creating a flow using the Instagram Pro Connector, you will need to obtain the Instagram Profile ID that is associated with the Instagram business account that you will be archiving posts from.
Navigate to https://developers.facebook.com/tools/explorer/
Hover over Tools menu and click on the Graph API Exploreroption
Select the Facebook App that was used in the Instagram Pro Connector Installation Guide
Enter the string below into the search bar and click on the Submit button
me/accounts?fields=instagram_business_account{name},name
Locate the Instagram Business Account that you would like to use to archive posts from and copy its Id value
This will be needed later in the guide
SAMPLE FLOWS
We have provided a sample flow to archive posts from Instagram to Content Manager. The sample flow will help you get set up with the Instagram connector and can be used as a basis to design other flows:
- Instagram Pro to CM Flow - This flow will archive posts/comments from Instagram to CM
Before using these sample flows ensure you have completed all steps from the Power2CM Installation Guide and Instagram Pro Connector Installation Guide.
Before importing the sample, you need to create two connections in Power Automate:
- Power2CM Connection
- Instagram Pro Connection
CREATING A POWER2CM CONNECTION
Once you have logged into Power Automate, click on Connections in the left menu under Data
Click on the New connection button
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)
Enter your Content Manager username and password into the username and password fields respectively
Click on the Create button
Your connection will now appear in the list of Power Automate connections. The status should state Connected
CREATING A INSTAGRAM PRO CONNECTION
Once you have logged into Power Automate, click on Connections in the left menu under Data
Click on the New connection byttib
Type Instagram Pro Connector into the search bar and click on the Instagram Pro Connector (name may vary depending on the name given for the connector in the Instagram Pro Connector Installation Guide)
Click Create
Login using your Facebook Developer account and follow the prompts in the popup window
Once complete, your connection will now appear in the list of Power Automate connections
The status should say Connected
IMPORTING THE INSTAGRAM TO CM FLOW
Once you have logged into Power Automate, click on My Flows in the left menu
Click Import
Click Upload
Select the Instagram Pro to CM flow.zip file and click Open
Once the file has finished uploading, you will be taken to the page below
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 then selecting the correct resource.
EXPORTED RESOURCE | RESOURCE TO MAP |
---|---|
Instagram Pro Connector | Select the Instagram Pro Connector and click Save |
Power2CM Connector | Select Power2CM and click Save |
Instagram Pro Connection | Select the Instagram Pro Connection and click Save. The name displayed will be the full name of the Facebook Developer account used in the CREATING A INSTAGRAM PRO CONNECTION |
Power2CM Connection | Select Power2CM and click Save |
Each time a resource is mapped, its icon will change from to
Click Import
You will receive a success message at the top of the page once your flow has been imported successfully
UPDATING THE FIELD VALUES
Open the Instagram Pro to CM flow that has been imported
Click on the Get Instagram Posts action
In the Profile Id field, paste the value obtained from the OBTAINING THE INSTAGRAM PROFILE ID section of the user manual. Ensure no " surround the number or trailing/leading white space. Only the number should be shown in the box.
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
Placeholders can be added to the Notes and Title fields to capture information from the Instagram posts:
For a full list of available placeholders, please refer to the Archive Instagram Post section in the Power2CM User Manual
- Click on the Save button
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
Your flow will be disabled by default. To enable it, click the Left Arrow button
Click on the Turn on toggle
INSTAGRAM PRO CONNECTOR ACTIONS
GET INSTAGRAM POSTS
Retrieves all posts from the Instagram account.
Name | Description |
---|---|
Profile Id | The Id of the Instagram account that will be used to retrieve posts from |
fields | The fields retrieved from the Get Posts API call. We recommend using the following value: caption,media_url,username,timestamp,like_count,comments{like_count,text,timestamp,username,replies{like_count,text,timestamp,username}} |
GET COMMENTS
This action retrieves all comments from an Instagram Post.
Name | Description |
---|---|
Post Id | The id of the Instagram post that will be used to retrieve Instagram posts from |
fields | The fields returned from the API call. We recommend using the following value: comments{like_count,text,timestamp,username} |
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:
Select the flow to change and click on the Edit button
Click on the New Step Button to add the step to the end of the flow
Click on the Notifications button
Select the preferred notification type, Email or Mobile Notification, and fill out the required details required
Click on the** '...'** menu in the top right of the action, and click on the **Configure Run After **option
Enable the** Has Failed and Has Timed Out** check boxes only and click on the Done button
Click on the Save button
Repeat the process above for any other flows desired