MSFT Power Automate
  • 15 Aug 2023
  • 2 Minutes to read
  • Contributors

MSFT Power Automate


Article Summary

MSFT Power Automate Connector

You can connect Tulip to Power Automate with MSFT connector to Tulip. This allows you to integrate with the data in you Tulip Instance. Extending you Tulip frontline operations into your power automates Teams and M365 workflows.

Setting up a connection to your Tulip instance:

  • Create a API Token account on your Tulip instance
  1. You will need the API Key and Secret for a API Token account on the Tulip instance you want to access.
  2. This can be set up at <your_company_instance>.tulip.co/settings/api-tokens or if your company is using workspaces <your_company_instance>.tulip.co/w/<workspace_number>/settings/api-tokens.
  3. Your API Token must have tables:read and tables:write scope access.
  4. You need to have workspace owner or account owner privileges in Tulip to create a API Token account for your workspace.
  5. See how to set up the Tulip API for step-by-step instructions for creating a API Token.
  • Set up the connection to the Tulip instance.
  1. When you first add the Tulip connector, you will be asked to set up a connection. This will use the API Token details from the previous step.
    Screenshot 2023-03-08 at 16.44.25.png

  2. Connection name - any name you define in order to remember the connection e.g. “Tulip Production Instance”.

  3. Tulip Instance URL - .tulip.co or .dmgmori-tulip.com or .tulipco.cn. You don’t need https or leading or trailing “/”.

  4. apiKey - This is the API Key for your API Token.

  5. Secret - This is the secret for your API Token .

  6. Note the auth header from the API Token is not required.

Screenshot 2023-03-08 at 16.45.47.png

  1. Once completed select Create.

Using the connector to create a record in a Tulip Table

  1. The connector allows you to select any of the tables from the instance that the connection is made to.
    Screenshot 2023-03-08 at 16.53.51.png

  2. After you have selected the table you will see the fields available from that table.

  3. You will need to ensure that the id is unique. You can use an expression in power automate to create a unique id. For example concat(utcNow(),'_',rand(10000,99999)) will create a unique id with the current date time followed by 5 random values.

  4. You can use static values, variables from the flow or leave fields blank to complete the remaining fields.

  5. For example this allows a user to create a message in teams and send to Tulip. It is using the random ID and a mix of static and values captured from teams earlier in the flow.

Screenshot 2023-03-08 at 16.55.06.png

Using Get Record

  1. Select a table and enter the ID of the record that you want to return.

Screenshot 2023-03-08 at 16.55.49.png

  1. The fields from the tulip table can be used later in the flow as dynamic content.

Screenshot 2023-03-08 at 16.56.27.png

Update Record

  1. Like Create a record you need to select the table where the record to update is located. You will need te record ID of of the record that you want to update. Note due to a current limitation you need to add the ID twice in these need to match otherwise the flow will fail. Record Unique ID and ID need to match otherwise flow will fail. Typically you would collect this earlier in both ID fields.

Screenshot 2023-03-08 at 16.57.00.png

  1. Complete fields as with the create record using static or dynamic contant. Any field that is left blank will not be updated. E.g. TextAnnotation will be updated but other fields will not.

Screenshot 2023-03-08 at 16.57.51.png


Was this article helpful?