Skip to content

Use webhook response as transformed URL to allow external processing #516

@baprx

Description

@baprx

Describe a related problem (optional)

I think it's not practical to edit the automation from my phone and I find myself limited with what I can do. I'd like to process my URLs externally and use the webhook response as the new URL to open.

Describe your suggested feature

Hi, I misunderstood the purpose of the webhook module and unfortunately it doesn't work the way I'd like to.

What I wanted to achieve is to externalize the URL processing, to extend possible use cases and have a more friendly IDE to do so.

Workflow:

  • URLCheck sends the URL (+ referrer + timestamp) just like it currently does
  • The webhook server process the URL, transforming it, shortening it, whatever we would like to do
  • The server returns the processed URL or a JSON like this if we want to be future-proof and allow other return values:
{"originalUrl": "https://yt.be", "processedUrl": "https://www.youtube.com/"}
  • URLCheck prompts allows the user to open the processed URL, or the automation takes over and opens by default

Describe alternatives you've considered for your suggested feature

Either we extend the current webhook module or add another one

Other details

Thank you!

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions