• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "How to make my phone ring/alert from a desktop application?"

Collapse

  • minestrone
    replied
    Adaptive cards are really sweet now. I dont know how far you can push getting a whole system front end in it, then the operator/user just actions stuff in a conversation...

    Adaptive Cards

    Leave a comment:


  • minestrone
    replied
    Originally posted by d000hg View Post
    That's a nice setup. I was idly thinking about the ability to make it 2-way so I can save time. e.g. Elon tweets something stupid at 2am and TSLA starts to crash, you get an alert "you might want to sell" and a way to action that with one button rather than fire up your PC, log in to your broker app, set up the trade.

    A little OTT but hey I'm a coder it's a fun thing to do. I'd not considered linking to a bot but it presumably does a lot of the comms stuff 'for free' using code someone else has tested for you.
    So when I press the button on teams it's actually sending a pre formed bit of text back to the bot. Like "send deal id 23455". The bot picks that up, parses it and chooses which logic app to call that will do the actual event. Usually it's just pull stuff from a DB and email it somewhere, change some state or SMS someone ( I use twillio ) .

    The bot really is just a number of methods that I can trigger by HTTP that create the cards, and a big switch that takes the replies and calls a range of logic apps. Bot is kind of over selling what ive got but that is the technical name for it. Rather than write a front end, ive just embded all my front end use case triggers in teams and present the range of actions available depending on state.

    Leave a comment:


  • d000hg
    replied
    Originally posted by minestrone View Post
    ive got a teams bot that sends me a range of activity cards on teams when an event takes place or a decision is needed. The buttons are on the messages it sends. "do this", "SMS back this", "send here". Can basically work from the pub.
    That's a nice setup. I was idly thinking about the ability to make it 2-way so I can save time. e.g. Elon tweets something stupid at 2am and TSLA starts to crash, you get an alert "you might want to sell" and a way to action that with one button rather than fire up your PC, log in to your broker app, set up the trade.

    A little OTT but hey I'm a coder it's a fun thing to do. I'd not considered linking to a bot but it presumably does a lot of the comms stuff 'for free' using code someone else has tested for you.

    Leave a comment:


  • d000hg
    replied
    Originally posted by SimonMac View Post
    I use slack webhooks, install the slack app on my phone and desktop (which I use anyway so its not "another app" for me)

    And then call the webhook like this

    Code:
    curl -X POST -H Content-type: application/json --data {"text":"04:09:44 databaseName backups started"} https://hooks.slack.com/services/*********/*********/*********************
    100% free, 100% reliable and idiot proof
    That's interesting hadn't twigged Slack let you do this.

    Leave a comment:


  • minestrone
    replied
    I use teams now for this stuff, I used to use slack. I use either logic apps or flow to kick off the message.

    Zapier and IFTTT just are not in the same league, and flow while it freaks people out ( i dont know why ) is very easy to use. You can literally create a flow, drop a slack or teams box under the trigger and that is it.

    I do websites that trap finance applications, the workflow after that is about 6 steps, ive got a teams bot that sends me a range of activity cards on teams when an event takes place or a decision is needed. The buttons are on the messages it sends. "do this", "SMS back this", "send here". Can basically work from the pub.

    Leave a comment:


  • northernladuk
    replied
    Originally posted by SimonMac View Post
    I use slack webhooks, install the slack app on my phone and desktop (which I use anyway so its not "another app" for me)

    And then call the webhook like this

    Code:
    curl -X POST -H Content-type: application/json --data {"text":"04:09:44 databaseName backups started"} https://hooks.slack.com/services/*********/*********/*********************
    100% free, 100% reliable and idiot proof
    Didn't work for me. Doesn't like all the asterixs for some reason???

    Leave a comment:


  • SimonMac
    replied
    I use slack webhooks, install the slack app on my phone and desktop (which I use anyway so its not "another app" for me)

    And then call the webhook like this

    Code:
    curl -X POST -H Content-type: application/json --data {"text":"04:09:44 databaseName backups started"} https://hooks.slack.com/services/*********/*********/*********************
    100% free, 100% reliable and idiot proof

    Leave a comment:


  • GigiBronz
    replied
    Originally posted by Paralytic View Post
    Hire a millennial to sit at your desk and give you a call when the specific triggers occur. There's someone on here that needs a few extra £ to boost their meagre £100K income - i'm sure she'll be interested (unless you were born before 1964).
    These are the boomers that we love!

    https://www.codementor.io/@garethdwy...rt-1-goi5fncay

    Leave a comment:


  • d000hg
    replied
    Looks like they often offer WhatsApp, email, etc as well. Seems it would be simple to design my code so I can drop in different services (SMS, IFTTT, etc) to test. Or use them all... anyone remember "Woof!" or when Marty McFly got fired in the future?

    Leave a comment:


  • _V_
    replied
    Google SMS gateway API and you will find lots.

    Basically you open an account, buy credits which give you so many 1000s of SMS messages. Each API call with a key will send SMS messages to any phone number or numbers

    Many give a trial with a few SMS messages so you can check latency. Many of the cheap ones in far away lands have unacceptable latency.

    I have used it in a number of projects to notify of things changing.

    Leave a comment:


  • Paralytic
    replied
    Hire a millennial to sit at your desk and give you a call when the specific triggers occur. There's someone on here that needs a few extra £ to boost their meagre £100K income - i'm sure she'll be interested (unless you were born before 1964).

    Leave a comment:


  • d000hg
    replied
    I was doing a bit of web-trawling last night and I actually wonder if using a 3rd-party SMS service might not be as good as anything. Services like this seem extremely simple to use and pretty cheap: http://api.txtlocal.com/docs/sendsms They also let you receive SMS which opens up some interesting ideas.

    Leave a comment:


  • GigiBronz
    replied
    Telegram bots. Or signal. I think there are a few implementations that you can readily use but to be frank I have not played with them so not quite sure what to expect.

    you can do one for imessages as well I think.

    Leave a comment:


  • d000hg
    replied
    Originally posted by eek View Post
    IFTTT will do exactly what you want - had I a similar requirement I would be using MS Flow for the same thing with something like a http trigger.
    Not come across Flow before. From a bit of looking at IFTTT the 'then' part would not be too hard but there are so many services I can't really see how I'd plumb in my "IF" from my custom code. I did see a WebHook service which talks about arbitrary HTTP requests and the like which sounds promising.

    Leave a comment:


  • eek
    replied
    IFTTT will do exactly what you want - had I a similar requirement I would be using MS Flow for the same thing with something like a http trigger.

    Leave a comment:

Working...
X