Giter VIP home page Giter VIP logo

gsheets-add-customer-to-shopify's Introduction

GSheets Add Customer to Shopify

This script checks a given sheet for new entries, and adds them as customers to Shopify if they don't already exist in Shopify.

Try it

  1. Create a Google spreadsheet with first name in column 'A', last name in column 'B', email address in column 'C', and date in column 'D'.

  2. Click Tools > Script Editor. This brings you to the Apps Script editor.

  3. Copy the contents of src/Code.js and paste into the script editor.

  4. Change MY_SPREADSHEET_ID, MY_SHEET, MY_STORE_NAME, and MY_API_KEY as appropriate.

  5. Save the script.

  6. Run the script to trigger permissions approval, even if your spreadsheet is blank: Click Run > Run Function > myWrapper.

  7. When prompted, click Review permissions and Allow. You will only need to do this once.

    If you get a warning that This app isn't verified continue with the verification process by clicking Advanced and then scroll down and click the grey text at the bottom that says Go to (Copy this) Script to send content

  8. After granting permission, repeat Step 6 whenever you have new entries in your sheet. Alternately, you can create a Trigger to have the script run automatically.

gsheets-add-customer-to-shopify's People

Contributors

eriksandall avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.