# Using Power Automate with Contacts Pro

Follow these steps to connect Power Automate with Contacts Pro:

# Prerequisites:

  • Contacts Pro application installed
  • Platinum version of Contacts Pro
  • Power Automate Premium subscription

# 1. Get the Teams Pro Graph API Key

The Teams Pro Graph API Key allows users to connect to our API. This is only available if you have a valid Platinum license for Contacts Pro.

  1. Visit the TeamsPro developer page (opens new window).

    Start Export Modal

  2. Log in with the account that holds the license by clicking the "Sign In" button.

  3. Navigate to the "Products" page by clicking the "Products" button.

    Start Export Modal

  4. Locate the Contacts Pro API in the list of APIs, and click on it.

    Start Export Modal

  5. Click the "Subscribe" button to subscribe to the API. A loading screen will appear, and once complete, you should see a confirmation.

    Start Export Modal

  6. Go to the "Profile" page by clicking the "Profile" button.

    Start Export Modal

  7. To retrieve your Teams Pro Graph API Key, click the "Show" button next to Primary key in your Contacts Pro subscription.

    Start Export Modal

# 2. Retrieve the Contacts Pro Application Identifier

To access data from your Teams Pro applications, you need the application identifier (ID).

  1. Open the Contacts Pro application in Teams.

    Start Export Modal

  2. Click the information button in the top right-hand corner and select "About".

    Start Export Modal

  3. A window will display your application identifier.

    Start Export Modal

# 3. Connect to Power Automate

  1. Go to the Power Automate website and create a new flow.

    Start Export Modal

  2. Click "Create" to start a new flow.

    Start Export Modal

  3. Select the flow type you want to use. For this documentation, we'll use "Instant cloud flow".

    Start Export Modal

  4. Name your flow and choose a trigger. Here, we'll use "Manually trigger a flow".

    Start Export Modal

  5. After selecting and validating, youโ€™ll be redirected to the flow creation canvas. Click "+", then "Add an action" to connect your event to the API.

    Start Export Modal

  6. In the panel that opens on the left, search for "Contacts Pro" and select it.

    Start Export Modal

  7. Choose the action you want to perform. Here, we'll use the "Get all contacts" action.

    Start Export Modal

  8. Enter the "Contact List ID", which is the application identifier retrieved in step 2.

  9. Click "Change connection" to authenticate with our API.

    Start Export Modal

  10. Select "Add new" and fill in the fields with the following information:

    • Connection Name: Enter a name of your choice.
    • TeamsPro Graph API Key: Enter the API key obtained in step 1.
  11. Click "Create New" to complete the authentication.

Once all these steps are completed, save your flow, and it will be ready to use!

Start Export Modal