• Resolved jostario

    (@jostario)


    How do I get the response from a webhook I send? For example, when a user submits a form, I send the data to a webhook. The webhook responds with a JSON object. I would like to use the data from the Webhook response in another action. How to proceed?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @jostario ,

    This isn’t something Automator supported, but for some reason we had an identical request Friday and decided to build support today.

    Keep in mind this has not been through our testing process, but if you want to try out a prerelease copy (this should only be done on a Staging site for now), we have uploaded it here: https://we.tl/t-iKc9Q2jRMe. If it works as expected we’ll include it in the next major release.

    The Automator package would replace the current plugin on your site. Here are some notes from our developer for using it:

    Open the first Webhook action. For the Automator tokens list to populate the “Response” tokens, you must press the “Send test” button to send the sample data to the endpoint and get a “Response”. Open the following action in the list, and the Response body tokens should be available for you to select like this: https://cln.sh/QtCnvHt6. Once you see the “Data sent” message, you can save the Webhook and close it.

    You can now build (or update) your current flow to pass a Webhook response tokens between actions.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    We’ll go ahead and close this ticket since it has been over a week, but hopefully what we provided helped. We will include this update in the next major release (not today’s).

    geraldodonald

    (@geraldodonald)

    Hello, I tried to download the file to view the response field but it has already expired at the link https://we.tl/t-iKc9Q2jRMe.

    Thread Starter jostario

    (@jostario)

    geraldodonald

    (@geraldodonald)

    thanks @jostario, I’m downloading it to test. My current version is uncanny-automator.4.13.0.1, I’ll test the uncanny-automator-4-9-0-1 version and come back with new information.

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @geraldodonald , if you run into trouble, let us know. That particular feature had to be pushed from the release a month ago, but we can provide an update to the file if it’s needed.

    geraldodonald

    (@geraldodonald)

    wow, it’s working!! When will you make it available for version 4.13 @uncannyautomator ?

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    I checked with our team and this will be part of 4.14. Assume this is probably around 2 weeks away.

    Thread Starter jostario

    (@jostario)

    Hi @uncannyautomator . Please can you provide an update to the file? Thks

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @jostario , our team has made a lot of changes since we created that package, and with the next major release due later this week (which will include the support), it’s safer now to wait for the official release.

    Hi,

    Is it possible to display the API response on the wordpress website due to a submitted form? As it display in the backend after you Send Data and get the response.

    Best regards

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @purevelvetdesign , it might be better to create a new thread, but how would you want the response displayed? The webhook response is available as an action token, so you could use it to create a new post, add a comment, etc.

    Hey @uncannyautomator,

    Is this a feature only for paying users? If so, can I contribute somewhere so I can only get this one? The only link missing from my site :/

    Thank you in advance!

    Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Sorry @dinisquid , do you mean the availability of webhook responses for the “Send data to a webhook” action? If so, no, that support is in the free version and you will see the tokens in subsequent actions. Make sure that you set up the webhook action first, then send a test to whatever is receiving the webhook, and then when Automator receives a response it will make the response tokens available in other actions.

    This video at the timestamp included might help a bit with setting this up: https://youtu.be/jwjgnnDqaa8?si=NoaG-pWxJ5-F_ekp&t=274

    It doesn’t seem to show up for me. I can’t send you a video of it because I’m working with JWT tokens in the response header and stuff. Can you recommend any troubleshooting tests? I’m on version 5.0.

    BTW, my response body structure is like this: Body
    {“token”:”xyz”,”refresh_token”:”xyz”}

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How do I Get Webhook Response?’ is closed to new replies.