Webhook implementation in K2 Five


Hi All,
is there anybody who successfully implements webhooks (third-party callbacks) in K2 Five?

If so, could you please briefly outline the solution?

Thank you,

Jindrich


5 replies

I have the same need now, does K2 five support Webhook implementation?


Thanks

I have the same need now, does K2 five support Webhook implementation?

Userlevel 3
Badge +10

Could you provide some additional details to as what systems are involved, what you mean by webhooks or what business case you are trying to solve?

In K2, you can create SmartObjects that can connect to and post data to other systems.

Or from other systems, you can call into K2 and send data to K2 to start a workflow, in which turn can execute the predefined actions in your workflow, which could be sending data to other systems.

Or if a workflow is active, you can use Wait for External System option which acts like a webhook also.

Hello Thank for the response, 

On the business case, we are integrating a payment system , the user will crate a virtual account on the application form , and use is expected to make a payment externally to the virtual account created either immediately still on at their convenience, however we are required to use a webhook to get the response of the payment once the user sends the money to the virtual account so we can proceed with validation on the form, user doesn't need to click any button to confirm the payment had been completed, the system should just automatically get the response form the webhook.

Also note that we are expected to provide the webhook url from our environment to be used to configure where the API will send the response back to the k2 environment one user make a payment to the virtual account . 

 

Hope this helps. 

Userlevel 3
Badge +10

From an external system, you can call into K2 to start a workflow using REST:

https://help.nintex.com/en-US/nintexautomation/devref/5.7/Content/Runtime/WF-REST-API/WF-REST-API.htm

Or execute a SmartObject using odata:

https://help.nintex.com/en-US/nintexautomation/devref/5.7/Content/Runtime/SmO-OData/SmO-OData-service.htm

A workflow can also wait for an external system’s update:

https://help.nintex.com/en-US/nintexautomation/userguide/5.7/Content/How-Tos/WaitExternal/Wait-External-System.htm

Reply