← Microsoft Excel + Shopify integrations

Create Order with Shopify API on New Spreadsheet Created (Instant) from Microsoft Excel API

Pipedream makes it easy to connect APIs for Shopify, Microsoft Excel and 2,700+ other apps remarkably fast.

Trigger workflow on
New Spreadsheet Created (Instant) from the Microsoft Excel API
Next, do this
Create Order with the Shopify API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

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

Developers Pipedream

Getting Started

This integration creates a workflow with a Microsoft Excel trigger and Shopify action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Spreadsheet Created (Instant) trigger
    1. Connect your Microsoft Excel account
    2. Select a Folder ID
  3. Configure the Create Order action
    1. Connect your Shopify account
    2. Configure Line Items
    3. Optional- Configure Billing Address
    4. Optional- Configure Shipping Address
    5. Optional- Select a Financial Status
    6. Optional- Configure Discount Code
    7. Optional- Configure Fulfillment
    8. Optional- Select a Fulfillment Status
    9. Optional- Configure Send Receipt
    10. Optional- Configure Send Fulfillment Receipt
    11. Optional- Configure Tax Lines
    12. Optional- Configure Currency
    13. Optional- Configure Note
    14. Optional- Select a Inventory Behavior
    15. Optional- Configure Shipping Lines
    16. Select a Customer ID
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new Excel spreadsheet is created.
Version:0.0.1
Key:microsoft_excel-new-item-created

Microsoft Excel Overview

The Microsoft Excel API on Pipedream allows you to automate spreadsheet tasks, manipulate data, and integrate Excel with other apps and services. Through Pipedream, you can create serverless workflows that react to events, perform operations on Excel files like reading, writing, updating cells, and managing worksheets. This API turns Excel into a powerful tool for data analysis, report generation, and task automation without manual intervention.

Trigger Code

import common from "../common/base-webhook.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  dedupe: "unique",
  key: "microsoft_excel-new-item-created",
  name: "New Spreadsheet Created (Instant)",
  description: "Emit new event when a new Excel spreadsheet is created.",
  version: "0.0.1",
  type: "source",
  hooks: {
    ...common.hooks,
    async deploy() {
      this._setLastCreatedTs(Date.now());
    },
  },
  methods: {
    ...common.methods,
    _getLastCreatedTs() {
      return this.db.get("lastCreatedTs");
    },
    _setLastCreatedTs(lastCreatedTs) {
      this.db.set("lastCreatedTs", lastCreatedTs);
    },
    filterRelevantSpreadsheets(spreadsheets) {
      const lastCreatedTs = this._getLastCreatedTs();
      let maxTs = lastCreatedTs;
      const relevant = [];
      for (const spreadsheet of spreadsheets) {
        const ts = Date.parse(spreadsheet.createdDateTime);
        if (ts > lastCreatedTs) {
          relevant.push(spreadsheet);
          maxTs = Math.max(ts, maxTs);
        }
      }
      this._setLastCreatedTs(maxTs);
      return relevant;
    },
    generateMeta(item) {
      return {
        id: `${item.id}`,
        summary: `Item ${item.name} created`,
        ts: Date.parse(item.createdDateTime),
      };
    },
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Microsoft ExcelmicrosoftExcelappThis component uses the Microsoft Excel app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Folder IDfolderIdstringSelect a value from the drop down menu.

Trigger Authentication

Microsoft Excel uses OAuth authentication. When you connect your Microsoft Excel account, Pipedream will open a popup window where you can sign into Microsoft Excel and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Microsoft Excel API.

Pipedream requests the following authorization scopes when you connect your account:

User.Reademailoffline_accessopenidprofileFiles.ReadWriteFiles.Read.AllUser.ReadCrossTenantInformation.ReadBasic.All

About Microsoft Excel

You can use Microsoft Graph to allow web and mobile applications to read and modify Excel workbooks stored in OneDrive for Business, SharePoint site or Group drive.

Action

Description:Creates a new order. For full order object details [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate)
Version:0.0.7
Key:shopify_developer_app-create-order

Shopify Overview

The Shopify Admin REST & GraphQL API unleashes a myriad of possibilities to automate and enhance online store operations. It provides programmatic access to Shopify functionalities, allowing users to manage products, customers, orders, and more. Leveraging the Shopify Admin API within Pipedream, developers can create custom workflows that automate repetitive tasks, sync data across platforms, and respond dynamically to events in Shopify.

This integration can be used as a custom app on your store, or for automating actions on behalf of merchants through your Shopify app.

Looking for integrating into the Shopify Partner API for your apps, themes or referrals? Check out our Shopify Partner API integration

Action Code

import shopify from "../../shopify_developer_app.app.mjs";
import utils from "@pipedream/shopify/common/utils.mjs";

export default {
  key: "shopify_developer_app-create-order",
  name: "Create Order",
  description: "Creates a new order. For full order object details [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate)",
  version: "0.0.7",
  type: "action",
  props: {
    shopify,
    lineItems: {
      type: "string[]",
      label: "Line Items",
      description: "A list of line item objects, each containing information about an item in the order. Example: `{ \"variantId\": \"gid://shopify/ProductVariant/44572675571992\", \"quantity\": 1, \"title\": \"Title\" }`. More details in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
    },
    billingAddress: {
      type: "object",
      label: "Billing Address",
      description: "The mailing address associated with the payment method. More details when searching **billing_address** in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
      optional: true,
    },
    shippingAddress: {
      type: "object",
      label: "Shipping Address",
      description: "The mailing address to where the order will be shipped. More details when searching **billing_address** in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
      optional: true,
    },
    financialStatus: {
      type: "string",
      label: "Financial Status",
      description: "The status of payments associated with the order. Can only be set when the order is created",
      options: [
        "PENDING",
        "AUTHORIZED",
        "PARTIALLY_PAID",
        "PAID",
        "PARTIALLY_REFUNDED",
        "REFUNDED",
        "VOIDED",
      ],
      optional: true,
    },
    discountCode: {
      type: "object",
      label: "Discount Code",
      description: "A discount applied to the order. Example: `{ \"code\": \"SPRING30\", \"type\": \"fixed_amount\", \"amount\": \"30.00\" }`. More details when searching **discount_codes** in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
      optional: true,
    },
    fulfillment: {
      type: "object",
      label: "Fulfillment",
      description: "Fulfillment associated with the order. For more information, see the [Fulfillment Object](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateFulfillmentInput)",
      optional: true,
    },
    fulfillmentStatus: {
      type: "string",
      label: "Fulfillment Status",
      description: "The order's status in terms of fulfilled line items",
      options: [
        "FULFILLED",
        "NULL",
        "PARTIAL",
        "RESTOCKED",
      ],
      optional: true,
    },
    sendReceipt: {
      type: "boolean",
      label: "Send Receipt",
      description: "Whether to send an order confirmation to the customer",
      optional: true,
    },
    sendFulfillmentReceipt: {
      type: "boolean",
      label: "Send Fulfillment Receipt",
      description: "Whether to send a shipping confirmation to the customer",
      optional: true,
    },
    taxLines: {
      type: "string[]",
      label: "Tax Lines",
      description: "An array of tax line objects, each of which details a tax applicable to the order. Example: `[ { \"rate\": 0.06, \"price\": 11.94, \"title\": \"State Tax\", \"channel_liable\": true } ]`. More details when searching **tax_lines** in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
      optional: true,
    },
    currency: {
      type: "string",
      label: "Currency",
      description: "The three-letter code ([ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format) for the shop currency",
      optional: true,
    },
    note: {
      type: "string",
      label: "Note",
      description: "An optional note that a shop owner can attach to the order",
      optional: true,
    },
    inventoryBehavior: {
      type: "string",
      label: "Inventory Behavior",
      description: "The behaviour to use when updating inventory",
      options: [
        {
          value: "BYPASS",
          label: "Do not claim inventory",
        },
        {
          value: "DECREMENT_IGNORING_POLICY",
          label: "Ignore the product's inventory policy and claim inventory",
        },
        {
          value: "DECREMENT_OBEYING_POLICY",
          label: "Follow the product's inventory policy and claim inventory, if possible",
        },
      ],
      optional: true,
    },
    shippingLines: {
      type: "string[]",
      label: "Shipping Lines",
      description: "An array of objects, each of which details a shipping method used. More details when searching **shipping_lines** in [Shopify Order Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/order)",
      optional: true,
    },
    customerId: {
      propDefinition: [
        shopify,
        "customerId",
      ],
    },
  },
  async run({ $ }) {
    const response = await this.shopify.createOrder({
      options: {
        sendReceipt: this.sendReceipt,
        sendFulfillmentReceipt: this.sendFulfillmentReceipt,
        inventoryBehaviour: this.inventoryBehavior,
      },
      order: {
        lineItems: utils.parseJson(this.lineItems),
        billingAddress: utils.parseJson(this.billingAddress),
        shippingAddress: utils.parseJson(this.shippingAddress),
        financialStatus: this.financialStatus,
        discountCode: utils.parseJson(this.discountCode),
        fulfillment: utils.parseJson(this.fulfillment),
        fulfillmentStatus: this.fulfillmentStatus,
        taxLines: utils.parseJson(this.taxLines),
        currency: this.currency,
        customer: {
          toAssociate: {
            id: this.customerId,
          },
        },
        note: this.note,
        shippingLines: utils.parseJson(this.shippingLines),
      },
    });
    if (response.orderCreate.userErrors.length > 0) {
      throw new Error(response.orderCreate.userErrors[0].message);
    }
    $.export("$summary", `Created new order with ID \`${response.orderCreate.order.id}\``);
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
ShopifyshopifyappThis component uses the Shopify app.
Line ItemslineItemsstring[]

A list of line item objects, each containing information about an item in the order. Example: { "variantId": "gid://shopify/ProductVariant/44572675571992", "quantity": 1, "title": "Title" }. More details in Shopify Order Object

Billing AddressbillingAddressobject

The mailing address associated with the payment method. More details when searching billing_address in Shopify Order Object

Shipping AddressshippingAddressobject

The mailing address to where the order will be shipped. More details when searching billing_address in Shopify Order Object

Financial StatusfinancialStatusstringSelect a value from the drop down menu:PENDINGAUTHORIZEDPARTIALLY_PAIDPAIDPARTIALLY_REFUNDEDREFUNDEDVOIDED
Discount CodediscountCodeobject

A discount applied to the order. Example: { "code": "SPRING30", "type": "fixed_amount", "amount": "30.00" }. More details when searching discount_codes in Shopify Order Object

Fulfillmentfulfillmentobject

Fulfillment associated with the order. For more information, see the Fulfillment Object

Fulfillment StatusfulfillmentStatusstringSelect a value from the drop down menu:FULFILLEDNULLPARTIALRESTOCKED
Send ReceiptsendReceiptboolean

Whether to send an order confirmation to the customer

Send Fulfillment ReceiptsendFulfillmentReceiptboolean

Whether to send a shipping confirmation to the customer

Tax LinestaxLinesstring[]

An array of tax line objects, each of which details a tax applicable to the order. Example: [ { "rate": 0.06, "price": 11.94, "title": "State Tax", "channel_liable": true } ]. More details when searching tax_lines in Shopify Order Object

Currencycurrencystring

The three-letter code (ISO 4217 format) for the shop currency

Notenotestring

An optional note that a shop owner can attach to the order

Inventory BehaviorinventoryBehaviorstringSelect a value from the drop down menu:{ "value": "BYPASS", "label": "Do not claim inventory" }{ "value": "DECREMENT_IGNORING_POLICY", "label": "Ignore the product's inventory policy and claim inventory" }{ "value": "DECREMENT_OBEYING_POLICY", "label": "Follow the product's inventory policy and claim inventory, if possible" }
Shipping LinesshippingLinesstring[]

An array of objects, each of which details a shipping method used. More details when searching shipping_lines in Shopify Order Object

Customer IDcustomerIdstringSelect a value from the drop down menu.

Action Authentication

Shopify uses API keys for authentication. When you connect your Shopify account, Pipedream securely stores the keys so you can easily authenticate to Shopify APIs in both code and no-code steps.

Get your Access Token

Create a custom app in Shopify to obtain your Admin API access token. See our detailed instructions here

Enter your Admin API access token below, and save it in a secure location (we recommend using a password manager such as 1Password)

About Shopify

Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.

More Ways to Connect Shopify + Microsoft Excel

Add Products to Custom Collections with Shopify Developer App API on New Item Updated (Instant) from Microsoft Excel API
Microsoft Excel + Shopify
 
Try it
Add Tags with Shopify Developer App API on New Item Updated (Instant) from Microsoft Excel API
Microsoft Excel + Shopify
 
Try it
Create Article with Shopify Developer App API on New Item Updated (Instant) from Microsoft Excel API
Microsoft Excel + Shopify
 
Try it
Create Blog with Shopify Developer App API on New Item Updated (Instant) from Microsoft Excel API
Microsoft Excel + Shopify
 
Try it
Create Custom Collection with Shopify Developer App API on New Item Updated (Instant) from Microsoft Excel API
Microsoft Excel + Shopify
 
Try it
New Cell Value Changed from the Microsoft Excel API

Emit new event when when a specific cell's value changes in an Excel worksheet

 
Try it
New Row Added from the Microsoft Excel API

Emit new event when when a new row is added to an Excel worksheet

 
Try it
New Spreadsheet Created (Instant) from the Microsoft Excel API

Emit new event when a new Excel spreadsheet is created.

 
Try it
New Spreadsheet Updated (Instant) from the Microsoft Excel API

Emit new event when an Excel spreadsheet is updated.

 
Try it
Collection Updated (Instant) from the Shopify API

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

 
Try it
Add a Worksheet Tablerow with the Microsoft Excel API

Adds rows to the end of specific table. See the documentation

 
Try it
Add Row with the Microsoft Excel API

Insert a new row into a specified Excel worksheet. See the documentation

 
Try it
Find Row with the Microsoft Excel API

Find a row by column and value in an Excel worksheet. See the documentation

 
Try it
Get Columns with the Microsoft Excel API

Get the values of the specified columns in an Excel worksheet. See the documentation

 
Try it
Get Spreadsheet with the Microsoft Excel API

Get the values of a specified Excel worksheet. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,700+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.