Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Ali Robertson 13 posts 112 karma points
    Mar 14, 2017 @ 04:53
    Ali Robertson

    Workflow feature request: Post forms as JSON


    I have a requirement where I want to integrate Umbraco Forms using an Azure Logic App (for CRM integration). Azure Logic apps appear to want a POST of a JSON object. However, Umbraco Forms only allows POST of XML. I imagine this is not a unique requirement... Can Umbraco Forms please be updated to provide a supported JSON workflow endpoint?

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Mar 14, 2017 @ 07:11
    Dennis Adolfi

    Hi Ali.

    Yes it does sound like a useful feature. Feature Requests however should be posted at (Make sure to mark your post as 'Feature Request' and not 'Bug') otherwise they might miss this post by only posting it here on Our.

    Have you done any of your own custom Workflows for Umbraco Forms before? It's actually not that difficult once you get the hang of it and the Feature that you describe does not sound very time consuming to build. Here is the docs about building your own custom workflow:

    If you dont have the time, energy or budget to build your own workflow, then I guess posting it as a feature request is your only option. If you do however dicide to build it yourself, I'll be happy to help you out if you need any code examples or guidelines.

    Have a great day!

    All the best / Dennis

  • Ali Robertson 13 posts 112 karma points
    Mar 19, 2017 @ 09:18
    Ali Robertson

    Thanks Dennis,

    I was considering going down the custom workflow route. I haven't done one before but I didn't envision much difficulty - glad to know that's right. That said, I do think it's something that should be baked in to the product... So I'll be sure to put a feature request in. :)

    edit: here we go,

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Mar 20, 2017 @ 06:52
    Dennis Adolfi

    Sounds great Ali.

    Thanks for your help making Umbraco even better! #h5yr

  • Ali Robertson 13 posts 112 karma points
    Sep 21, 2018 @ 08:13
    Ali Robertson

    For future reference, because this was never adopted. Here's my implementation of this function:

  • Connie DeCinko 95 posts 248 karma points
    Jul 29, 2019 @ 18:26
    Connie DeCinko

    Can I drop this into App_Code or is there a better location? This should work with my custom API? Same server or what if it's on another server?

  • Chris Mahoney 235 posts 447 karma points
    Aug 20, 2023 @ 23:33
    Chris Mahoney

    Does anyone know whether there's been any movement on this? is down at the moment so I can't read the comments on the official request, and the drop-in PostToUrlAsJson.cs doesn't seem to be compatible with Forms 11/12.

  • Robert Sikkens 5 posts 76 karma points
    24 days ago
    Robert Sikkens

    For those interested, my Umbraco 13 version:

Please Sign in or register to post replies

Write your reply to: