Code Monkey home page Code Monkey logo

coop-claim-automation's Introduction

Co-op Claim Automation

Automatically fills out form and uploads files for co-op claims.

Getting Started

Prerequisites

Installing

Clone the repo

git clone https://github.com/hutsoninc/coop-claim-automation.git

Move into the repo directory and run npm install

cd coop-claim-automation && npm install

Setup

Create a new file called .env in the root directory and enter your environment variables.

DEALER_CLAIM_URL=your-url
DEERE_USER=your-username
DEERE_PWD=your-password

Make a directory to store claim data.

This is where you will store all the files necessary to submit a claim. When submitting a claim, make a new folder and name it with the preapproval number.

mkdir claim-data
cd claim-data && mkdir processed skipped zipped

Move back to the root directory, then into the app directory.

cd ../app

Create claim and config files.

The claims.csv file is where you will enter in your claim information. You may also enter it in the claims.json file directly.

touch claims.csv claims.json config.json

Windows

echo "" > claims.csv
echo "" > claims.json
echo "" > config.json

In config.json file:

{
    "email": "your-email",
    "name": "your-name",
    "phone": "your-phone"
}

In claims.csv file:

Media Type,Invoice Amount,Media Name,Invoice Number,Invoice Date,Preapproval Number

Built With

Authors

  • Austin Gordon - Development - GitHub

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

coop-claim-automation's People

Contributors

austinleegordon 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.