Google Sheets
Alpaca
ifttt

An automated workflow using ifttt

Connects Google Sheets + Alpaca

Buy stocks using Google Sheets.

About this workflow template

This automation scenario allows you to connect Google Sheets and Alpaca

It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Google Sheets and Alpaca can also be integrated using automation tools other than ifttt:

Diagram

Buy stocks using Google Sheets.
Workflow diagram: Google Sheets + Alpaca integration

How it works?

When this trigger fires in Google Sheets

Google Sheets

New row added to spreadsheet in Google Sheets

This trigger fires when a new row is added to a spreadsheet you specify.

Then this action happens in Alpaca

Alpaca

Place Market Order in Alpaca

This action will place a new day market order for the given symbol, side and quantity.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Buy stocks using Google Sheets..

Part I

Configure Applications

First, we need to connect Google Sheets and Alpaca to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Google Sheets to IFTTT.

    Connect Google Sheets to IFTTT.

    Give IFTTT access to your Google Sheets account, using Google Sheets credentials.

  • Connect Alpaca to IFTTT.

    Connect Alpaca to IFTTT.

    Give IFTTT access to your Alpaca account, using Alpaca credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.

  • Set up a Trigger action for Google Sheets

    Set up a Trigger action for Google Sheets

    Choose the following trigger: New row added to spreadsheet (This trigger fires when a new row is added to a spreadsheet you specify.).

  • Then set up an Action for Alpaca

    Choose this action: Place Market Order (This action will place a new day market order for the given symbol, side and quantity.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Google Sheets and Alpaca.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Buy stocks using Google Sheets.!

Supported triggers and actions

  • Google Sheets

    New spreadsheet row

    Triggers when a new row is added to the bottom of a spreadsheet.

    zapier
    triggerbyzapier
  • Google Sheets

    New or updated spreadsheet row

    Triggered when a new row is added or modified in a spreadsheet.

    zapierpabbly-connect
    triggerbyzapierpabbly-connect
  • Google Sheets

    Watch new rows

    Triggers when a new row is added.

    integromat
    triggerbyintegromat
  • Google Sheets

    New spreadsheet row (team drive)

    Triggers when a new row is added to the bottom of a Google Team Drive spreadsheet.

    zapier
    triggerbyzapier
  • Google Sheets

    New or updated spreadsheet row (team drive)

    Triggered when a new row is added or modified in a spreadsheet - works best with Team Drives.

    zapier
    triggerbyzapier
  • Google Sheets

    New spreadsheet

    Triggers when a new spreadsheet is created.

    zapierautomateio
    triggerbyzapierautomateio
  • Alpaca

    Cancel order

    Cancels the order.

    zapierpipedream
    actionbyzapierpipedream
  • Alpaca

    Close position

    Closes the position.

    zapierpipedream
    actionbyzapierpipedream
  • Alpaca

    Get account info

    Get the account info.

    zapierpipedream
    actionbyzapierpipedream
  • Alpaca

    Place order

    Places a new order.

    zapierpipedream
    actionbyzapierpipedream
  • Alpaca

    Cancel all orders

    Cancel all orders

    pipedream
    actionbypipedream
  • Alpaca

    Close all positions

    Close all positions

    pipedream
    actionbypipedream

Apps you need

Google Sheets

Google Sheets

Spreadsheets

Online spreadsheets for personal use and collaboration, part of Google Drive

Google Sheets is a powerful and flexible web and mobile spreadsheet application that lets you collaborate and share your data with others. Create and edit spreadsheets on-the-go, all in real-time.

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.