Skip to content

A bot that looks an order up in an e-commerce system and files a missing package claim with USPS

Notifications You must be signed in to change notification settings

FormulatedAutomation/usps-missing-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FA Github Header

USPS Missing Mail Bot

This bot logs into an e-commerce system, looks up a shipment based on that criteria and files a missing package claim with USPS. In order to file the claim, the tracking number we need to be in an undelivered state.

USPS-Playwright

Local Installation

  1. Clone the repo
  2. Install the dependencies using rcc
  3. Create a .env with the following variables:
PLATFORM_URL='https://shopify.store.com/'
PLATFORM_USERNAME='your.username'
PLATFORM_PASSWORD='your.password'
RC_API_SECRET_HOST=''
RPA_SECRET_MANAGER='RPA.Robocloud.Secrets.FileSecrets'
RPA_SECRET_FILE='/path/to/vault.json'
PLATFORM_URL='https://path.to.your.store'
CONTACT_EMAIL='contact@email.com'
CONTACT_FIRST='Person'
CONTACT_LAST='Last'
ORIGIN_COMPANY='Company Name'
ORIGIN_STREET='123 W Main'
ORIGIN_ZIP='11231'
ORIGIN_CITY='New York'
ORIGIN_STATE='NY - New York'
ORIGIN_PHONE='123-123-1234'

Running

The bot runs as an Assistant Bot on Robocorp or you can just run it with pure python as python task.py

Keep in mind, this bot expects to log into an e-commerce platform and search for the shipment and it's delivery address. This will need to be customized to work with your e-commerce platform.

Questions

Reach out to us at hello@formulatedautomation.com

About

A bot that looks an order up in an e-commerce system and files a missing package claim with USPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published