Shopify Connection and Settings

Estimated reading time: 6 min

Documentation status: updating

Shopify banner Shopify Connection and Settings

Shopify is a popular e-commerce platform. It provides small or big businesses with an all-in-one tool to start, manage and grow their business online or in-store. 
 

When you integrate Shopify with Wiresk, you open a broader way to manage your online store. You can automate, retrieve, create, update, and manage various Shopify data points through scheduled Triggers, Webhook Triggers, and Methods.

To use Shopify with our platform, you must have a Shopify account.
You can create an account at www.shopify.com/signup.
 
Explore the available functionalities through the Shopify API documentation.

A connection to your Shopify account is needed so we can sync it with our platform.

There are two ways to connect your app to Wiresk:

▪️ In “My apps” section, where you can manage your connections (select or create your group first to get access to this section, refer to the Group system ).

▪️ While building your Flow, you can easily establish a connection to your app directly within the Flow builder. This can be done during the setup of either a Trigger or a Method.

In this documentation, we will explain how to create a connection in “My apps” section, it is essentially the same as when creating it on-the-go.

Screenshot of Wiresk Add Apps search and selection. Red arrows pojnt to explained fields.
Currently, Wiresk provides a single connection option, and will be expanded in later releases.

You’ll need to create a custom app in your Shopify store to enable this connection.

To personalize and optimize your Shopify store, you can create a custom app, distinct from publicly available apps. These tailored applications, developed by you or a programmer, can add specialized features to your admin interface, provide direct data access through Shopify’s APIs, and facilitate integration with other platforms using the Storefront API.

If you’re a developer, then you can learn more about custom apps by reading the developer documentation for custom apps.

Before building custom apps for your Shopify store, you need to turn on custom app development in your admin settings. This requires store owner or staff permissions. 

  • From your Shopify dashboard, go to Settings > Apps and sales channels.
  • Click Develop apps.
  • Click Allow custom app development.
  • Read the warning and information provided, and then click Allow custom app development.

After confirming, you can create and install your app, setting API scopes for data access. Installation provides access tokens for API interaction. Store owners and authorized staff can create and install these apps.

  • From your Shopify admin, go to Settings > Apps and sales channels.
  • Click Develop apps.
  • Click Create a custom app.
  • In the modal window, enter the App name and select an App developer. The app developer can be the store owner, or any staff or collaborator account with the Develop apps permission.
  • Click Create app.

After you create a custom app, you can assign API scopes to it. Set the scopes as follow:

Screenshot of Shopify Partyner screen. It Shows where to set the required Scope for Wiresk App.
  • Click Select scopes.
  • In the Admin API access scopes section, select the API scopes that you to assign to the app.
  • Set the API version you want to use for webhook subscriptions.
  • In the Storefront API access scopes section, select the API scopes that you want to assign to the app.
  • Click Save.

Once you’ve configured the API scopes, you can proceed with app installation, which will then generate your Admin API access tokens.

The Admin API access token is displayed one time only, because the token provides API access to sensitive store data. After revealing the access token, write down or record the token somewhere secure so that you can refer to it again in Wiresk “create connection”.
  • Click Install app.
  • In the modal window, click Install app.
  • Get the access token:
    • Go to the Admin API access token section and click Reveal token once. After revealing the full access token the first time this page is accessed, this page displays only the last 4 digits of the access token for reference on subsequent visits.
  • Go to My apps tab > select ⊕ button > search Shopify.
  • On the Prompted s creen, name your connection.
  • Select Custom App Connection tab.
  • Enter your Shopify Shop URL (Subdomain name).
    • Find it in your Shopify account dashboard > Settings > the URL under your shop name (in the top left corner). If the URL of your store is mystore.myshopify.com, the subdomain to enter is mystore.
Screenshot of Wiresk Add apps screen. It Shows the setting of the custom app connection in Shopify. Red arrows point tom explained fields.
  • Enter your Admin API Token saved from the previous step.
  • Select the API version defined from the previous steps.
  • Select Create App to complete your connection process.

Voila! Your Shopify Custom App connection is ready. You can now use it to build your Flows.


Now that Shopify is linked to Wiresk, you’re ready to start building Flows.

How to create a Flow (select to expand ↓ )
  • Select your Group, then on the Flow management screen click on “Create Flow”.
Animated image GIF, shows where to click to create a Flow in Wiresk. first select a group then click on create Flow.

A – Select the Trigger

Flows can be executed by multiple Triggers, depending on the desired workflow. For example, you could use scheduled Triggers with different recurrence rules alongside a Webhook Trigger for immediate, event-driven runs of the Flow. If you choose to “Run Once“, the Flow will execute using only one Trigger and its sample data.
  • Name the Flow that you want to create.
  • Add your Trigger by clicking on the red plus (+) Add button.
  • On the Trigger selection screen, search your app or select it from the list below the screen.
Screenshot of Wiresk Trigger setting screen. Red arrows shows that you can wether search your app in the search or or select it in the list below.
  • Select your preferred Trigger on the next screen and customize its settings. For Shopify Triggers, refer to the Trigger settings below.

As mentioned in “How to connect your app to Wiresk” above, during your Trigger settings, you can create a new connection to your apps at this stage.

B – Add an HTTP Trigger to your Flow

An HTTP Trigger allows you to manually activate your Flows.

  • Click on the red plus button (+) again to add a Trigger for testing your Flow, then click on the button “HTTP Trigger”.
Screenshot of Wiresk HTTP Trigger selection. in manual configuration section, an arrow point to HTTP Trigger.
  • Write a description and select your API key or create a new one.
Screenshot of HTTP Trigger setting screen. Arrows shows fields that need to be filled and selected for the settings. User need to add a description, select or create an API key.
  • Click on save. Now you can use your HTTP Trigger to Manually run your Flow.

C – Add a Method to your Flow

The Method will perform a specific task on a particular app or service you’ve connected to Wiresk like get info or send emails.

You can add at least 1 or multiple Methods for complex Flows (a maximum of 255 Methods).

  • On the Flow builder screen, click on the plus button (+) next to the Trigger icon.
Screenshot of Wiresk Flow Builder, showing Trigger icon and arrow pointing to a plus button. This button is use to add Methods in Wiresk.
  • Search or scroll down to select your apps Methods, then configure it settings. For Shopify Methods, see Methods list and settings in the step below.

D – Add Wiresk Tools to your Flow

If you want to build a complex Flow, Wiresk offers a selection of tools at your disposal. Refer to Wiresk’s Tools

To add Tools in your Flow, Follow the same step as adding the Methods. On the Flow builder screen, click on the plus button (+) then just click on the “Tool” tab and select the Tool that you want to add.


What will start your automation…

Setting up the recurrence rule or scheduler of your Trigger (if the Trigger is not a Webhook):

  • Regular intervals will monitor your Trigger by intervals in minute
  • Daily recurrence will monitor your Trigger by day and hour
  • Monthly recurrence will monitor your Trigger every month on a defined date and hour
  • Yearly recurrence will monitor your Trigger on a specific date and hour every year
  • Specific dates will start your Trigger on specific dates

After setting up the Trigger parameters (refer to how to define your parameters in the steps below), click on “Get sample”.

The “Get sample” allows you to extract a subset of data for validation. The data will be used to MAP your Method parameters according to your Flow. Refer to FIELD MAPPING documentation.

SHOPIFY Shopify

These Triggers will start your Flow automatically at a specific time or intervals instead of being triggered real-time event (Webhooks).

Obtain a list of draft orders.

Obtain a list of inventory levels.

Get a list of inventon level

Obtain a list of fulfilments associated with orders.

Obtain a list of inventory items.

Obtain a list of custom collections

Obtain a list of articles.

Obtain a list of transactions.

Obtain a list of discount codes

Get a list of pages

Obtain a list of customers.

Obtain a list of order refunds.

Obtain a list of products.

Obtain a list of disputes.

Obtain a list of orders.

Obtain a list of abandoned checkouts.

Obtain a list of product variants.

Obtain a list of payouts.

Get a list of metafield

SHOPIFY Shopify

The Flow will initiate automatically when a webhook event is received . This means that the Flow is automated without a scheduler and will run until you deactivate the Flow manually.

Trigger the Flow on selected event.

Configuration Table:

Description*Name or description of the Webhook
Connection*Select your connection or create one.
API Key*Select or Create an API Key for authenticating the Webhook request.
Parameters
Webhook Event*Select the type of event that will Trigger your Flow.

Customer Created
Customer Updated
Order Created
Order Paid
Order Fulfilled
Order Cancelled
Order Updated
Draft Order Created
Fulfillment Created
Fulfillment Event Created
Fulfillment Order Hold
Fulfillment Order Cancelled
Fulfillment Order Moved
Fulfillment Order On
Refund Created
Product Created
Product Updated
Inventory Item Created
Inventory Item Updated
Inventory Level Connected
Inventory Level Updated
Dispute Created

(*) required field


What your automation will do…

SHOPIFY Shopify
You can include between 1 and 255 Methods to build complex Flows.

Get full detail of product

Get a list of products with filter

Create or Update product

Add a new variant to product

Get full detail by product variant

Get a list of product’s variants with filter

Get a list of product images

Upload a new product image

Get full detail of custom collection

Get a list of custom collection with filter

Link Product to custom collection

Get full detail of collect



After setting up your Flow, you can choose to:

  • Run once”, your Flow will run only a single time. You can use this function to test your Flow. Refer to how to set up an HTTP Trigger, in the “Create a Flow” step.
  • Run Scheduler” will automate your Flows with the recurrence rule you previously defined.


For more details, refer to How to run a Flow tutorial in our Help Center.
 
If you are using a Webhook Trigger, the Flow will initiate automatically when a webhook is received from your connected apps. This means that the Flow is automated without a scheduler and will run until you deactivate the Flow manually. Refer to Webhook documentation in our Help Center.


Learn more about Wiresk, explore our user guide.

If you need an integration that you cannot find in Wiresk, you can make a request to our team, and we will try our best to satisfy your needs.