Creating Custom Connector for Shopify in Power Automate- Part 1
In this blog we’ll learn how to create a custom connector for Shopify using Power Automate.
- Go to Apps and click on “Manage Private Apps”
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-65.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-66.png)
2. Create on “Create private app”
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-67.png)
3. Provide app name and email
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-68.png)
4. Give permissions based upon your requirements
No Access
Read Access
Read and write
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-69.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-70.png)
5. Click on Save and then click on create new private app
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-89.png)
6. After creating app, we get API key, password and URL
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-71.png)
Creating Custom Connector in Power Automate
7. Go to Power Automate->Click on Data->Custom Connectors
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-73.png)
8. Click on “+ New custom connector” –> Create from blank. Give a name to your connector and click on “continue
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-74.png)
1. General
9. You can upload an image, background color and description as you want or desire
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-75.png)
2. Security
10. Select Authentication type as “Basic Authentication” and give label to the parameters.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-76.png)
3. Definition
11. In Definition, you can create Triggers and Actions based on your requirements. Click on “New Action”
12. Enter Summary, Description and Operation ID
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-77.png)
13. Go to Request and Click on “Import from sample”
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-78.png)
14. Enter the verb and Get request URL to retrieve the single customer detail
Verb: GET, URL: https://{apikey}:{password}@{hostname}/admin/api/2020-10/customers/{customer_id}.json
Example- https://9ed959ec1ed8536c82689353bf247c78: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@sans-the-label-designer.myshopify.com/admin/api/2021-10/customers/{customer_id}.json
Here, {Customer_id} is the input parameter.
A request would look like the one below-
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-79.png)
Add response
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-80.png)
15. Go to Shopify API Documentation: Customer (shopify.dev) and copy the JSON file and enter it in Add default response->body
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-81.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-82.png)
16. Click on Create Custom Connector
4. Test
17. Add a new connection
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-83.png)
18. Enter the API key and password
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-84.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-85.png)
19 Create a new customer in Shopify app and enter the customer ID in GetCustomer
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-86.png)
20. Click on “Test operation” to test your connector
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-87.png)
Hope this helps!!