Lurker News
For my travel site side hustle (beatthatflight.com.au/), I find and publish cheap flights for Australians. Sounds simple, but even if say, someone gave me the flights each day, there's posting the, sometimes to deals sites, as well as then editing it and posting it on my site, and out to social media, and then to specific mailing lists on mailchimp, depending on the source city of the deal, or type of post.

A LOT of that becomes tedious. Mailchimp can auto post to FB/twitter/instagram etc, but even converting the blog post into mailchimp emails gets tiring, as you need to choose a feature photo, the specific mailing list etc.
I'm a selenium guy, so have built some scripts to minimise some of it, but the rush each time of finding a deal still pains me when I think of the tedium ahead of publishing it.
Ideally, my goal would be to submit [to][from][when] to a script and the whole process would be automatic. I can see that selenium could do it, but my goodness, it'd be slow and potentially flaky all via the web UI for those sites.
I'd love suggestions, examples of automation you've done, and tools used?

Comments (229) 59 threads

Earlier comments
arafsheikh3 replies#
Last week I built an automated expense tracking dashboard on Tableau using SendGrid and Google Sheets. I use a Gmail filter to forward my credit card transaction emails to an Inbound Parser setup on SendGrid, which makes a POST call to my home server with the content of the email. A regex then captures the details from the POST body and pushes them to a Google Sheet.

Next I use Tableau Public to read data from Google Sheets and publish a dashboard to Tableau Public Online. Tableau Public automatically refreshes data on the server side from Google Sheets every few hours.
The good part is that all of this can run automatically without any manual intervention whatsoever and I get a beautiful near real-time dashboard for my daily expenses that I can access from anywhere (dashboard is publicly accessible but hidden).

jesterson1 reply#
Are you comfortable sharing your personal expenses with so many public sources?
arafsheikh2 replies#
Tableau Public is the one that makes me uncomfortable. If this dashboard continues to work well and be useful I'll look into self-hosted alternatives.
j452 replies#
Metabase may be of interest as an alternative

Continue this thread — 2 replies

shostack2 replies#
Could you use Google Data Studio for it instead?

Continue this thread — 2 replies

slightwinder1 reply#
How does error-handling in this case happens? Do you get a message if some part of this pipeline fails?
arafsheikh#
Send grid retires sending the message for 3 days incase it doesn't get a 200 from my server.

To capture errors on my server I use PaperTrail's email alerts.

ultrasounder#
This is an excellent idea for an expense tracker dashboard. I would like to create something similar for a business process automation course that I am currently working on. And I would use Google Data Studio instead of tableau as Google sheets has a data connector for data studio already.
s4ik4t#
Better Selenium alternatives would be - puppeteer, cypress, testcafe etc.

For Windows automation AutoIt is good. VBScript for MSOffice automation. Python/shell scripts for mostly everything.

Cyph0n1 reply#
Ansible!

I’ve been working on a “mail to cloud storage” project on the side for fun, but also as an excuse to learn Rust.
As part of this effort, I decided to try out Ansible. Man, it is one great tool!
For development, I have all of my server “groups” pointing to the same host, so my Ansible playbooks install and setup everything on a single machine. Makes testing much easier tbh.

cybrox#
I'm currently migrating a system at work to using Ansible and I'm absolutely in love with it.

My next project will be creating Ansible Playbooks for my workstation, so I can easily re-setup my Arch workstations on Desktop, Laptop, private and at work.

jaggs1 reply#
A bit more basic, but I use two free desktop PC automation tools which I now can't do without.

1. TyperTask (https://typertask.en.uptodown.com/windows) to automate common tasks like adding different email signatures for different addresses etc etc.
2. ClipX (http://bluemars.org/clipx/) for managing a huge clipboard history file. This saves me SO much time it's unbelievable.

johnflan1 reply#
It surprises me how many people don't use a clipboard manager. I use PasteBot on the Mac.
Nannooskeeska1 reply#
I've had Ditto [0] on my PC for almost a year now, and I could probably count on two hands the number of times it's come in handy for me. Can you explain what is so great about having a clipboard manager? I feel like I'm missing something, and if it would become truly useful to me by using it a different way I'd like to learn.

[0] https://ditto-cp.sourceforge.io/

gcarvalho#
It depends on your workflow. I sometimes find myself alt-tabbing multiple times to copy stuff over. Othertimes I accidentally overwrite my clipboard and lose some text that I was writing. Being able to recover it from the history is nice.

I use Pasteapp on macOS and FastKeys on Windows, which comes with other useful stuff, such as a shortcut for controlling volume by using the mouse scroll wheel on the right edge of the screen, macros, and a text-expander. The ones I use the most are:
ddate = 2020-02-18 ttime = 03:40:26 nnow = 2020-02-18 03:40:28 @@ = my email

Load more comments