Fl4m3Ph03n1x

Fl4m3Ph03n1x

Automatically fill a form from

Background

There is a website with a form that I need to fill automatically and then submit. Once this is done I need to check the results page and send a message to a user via Whatsap, Telegram or SMS. Sending an email is not out of question, but this is related to an extremely urgent event (like, the nuclear core is melting down) so I am not sure emails are a good choice because people miss them easily.

Questions

I am usually more of a back-end developer, I don’t know much about reading pages and filling them automatically. So naturally I have some questions:

  1. Is it possible to do this with server side technologies using Elixir?
  2. What tools would you use and why?
  3. I know of Bamboo to send e-mails in Elixir, but I don’t know of any tool to send other types of notifications. Do you know any?

Any help would be really appreciated.

Most Liked

Cochonours

Cochonours

Unless this form is protected against CSRF, you could just write a small script to cURL POST the form, and pipe the answer to Telegram if it matches your alerting conditions.

Avoid SMS, as those come with no guarantee to go fast.

outlog

outlog

do you mean filling out form on 3rd party site and scrape/parse the result? then something like wallaby maybe - though it’s oriented towards testing… https://github.com/elixir-wallaby/wallaby

or hound https://hex.pm/packages/hound

  1. nexmo, or twilio for sms - u can even call up people and have it read whatever text you want…

Where Next?

Popular in Questions Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
jc00ke
Expanding on this topic: https://forum.elixirforum.net/t/map-typespec-question/19217 Let’s say I have a map with required and optional k...
New

Other popular topics Top

pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement