What do you want to automate

with Grain and Shopify (OAuth)?

Prompt, edit and deploy AI agents that connect to Grain, Shopify (OAuth) and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Add Products to Custom Collections with Shopify (OAuth) API on New Highlight (Instant) from Grain API
Grain + Shopify (OAuth)
 
Try it
Add Products to Custom Collections with Shopify (OAuth) API on New Highlight Removed (Instant) from Grain API
Grain + Shopify (OAuth)
 
Try it
Add Products to Custom Collections with Shopify (OAuth) API on New Highlight Updated (Instant) from Grain API
Grain + Shopify (OAuth)
 
Try it
Add Products to Custom Collections with Shopify (OAuth) API on New Recording (Instant) from Grain API
Grain + Shopify (OAuth)
 
Try it
Add Products to Custom Collections with Shopify (OAuth) API on New Recording Removed (Instant) from Grain API
Grain + Shopify (OAuth)
 
Try it
New Highlight (Instant) from the Grain API

Emit new event when a highlight that matches the filter is added.

 
Try it
New Highlight Removed (Instant) from the Grain API

Emit new event when a highlight is removed.

 
Try it
New Highlight Updated (Instant) from the Grain API

Emit new event when a highlight is updated.

 
Try it
Collection Updated (Instant) from the Shopify (OAuth) API

Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.

 
Try it
New Recording (Instant) from the Grain API

Emit new event when a recording that matches the filter is added.

 
Try it
Get Recording with the Grain API

Fetches a specific recording by its ID from Grain, optionally including the transcript and intelligence notes. See the documentation

 
Try it
Add Products to Custom Collection with the Shopify (OAuth) API

Adds a product or products to a custom collection. See the documentation

 
Try it
Add Tags with the Shopify (OAuth) API
 
Try it
Bulk Import with the Shopify (OAuth) API

Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation

 
Try it
Create Article with the Shopify (OAuth) API

Create a new blog article. See the documentation

 
Try it
Integrate the Grain API with the Shopify (OAuth) API
Setup the Grain API trigger to run a workflow which integrates with the Shopify (OAuth) API. Pipedream's integration platform allows you to integrate Grain and Shopify (OAuth) remarkably fast. Free for developers.

Connect Grain

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    grain: {
      type: "app",
      app: "grain",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.grain.com/_/public-api/me`,
      headers: {
        Authorization: `Bearer ${this.grain.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Shopify (OAuth)

Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:

  • Merchant tools: tools that help merchants manage their stores, such as order
    management, product administration, and reporting
  • E-commerce applications: applications that enable merchants to sell their
    products online, such as shopping carts, product catalogs, and order
    management
  • Integration tools: tools that helps integrate Shopify with other systems,
    such as accounting, inventory, and shipping

Connect Shopify (OAuth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shopify: {
      type: "app",
      app: "shopify",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{  
        shop { 
          id 
          name
          email 
        } 
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
      headers: {
        "X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo