Webhooks and Process Question

Hello everyone,

Previously, I posted a question in this forum to find out if it's possible to send webhooks from Creatio to my external REST API. According to the documentation, it seems that only receiving webhooks from an external service is supported. In response, I was suggested to create a process in the control panel and configure actions to listen for changes in some model and then send that information to my web service.

So far, I've followed these two steps:

  1. I created a web service and configured its headers and parameters.

  2. I created a process that listens for changes in a model, such as Opportunity, and then sends that information to my web service (which is my REST API).

I managed to do this process manually, but currently, I'm developing an integration with Node.js, and I'm consuming Creatio's OData4 REST API. My goal is to automate these two previous steps using code.

My questions are as follows:

  1. Is it possible to create a web service from Creatio's REST API?

  2. Is it possible to create a process using native C# code or metadata from the REST API?

I appreciate any guidance you can provide!

Like 0

Like

6 comments

I'm not sure I understand your question exactly. Are you saying you want to create a service endpoint in Creatio that you'll consume from outside of Creatio? 

If that is the case, then yes. You can create custom endpoints in Creatio that can be consumed from outside. Sample service shown here: https://customerfx.com/article/creating-a-web-service-and-consuming-it-…

More here: https://academy.creatio.com/documents/technic-sdk/7-16/creating-configu…

To consume it from outside, you'd first need to authenticate, see https://academy.creatio.com/documents/technic-sdk/7-16/authentication-e…

Then, you'd POST/GET etc the endpoint for the configuration service.

Ryan

Ryan Farley,

Ryan Farley,

Can I create a process and webservices using low code or rest api? 

No. That area does not create a Web service. That area only defines how to call an existing web service. That is used if you need to call an external API from a process in Creatio. You defined the URLs in parameters there so the process element knows how to call the web service. 

Ryan

Ryan Farley, 







Thank you very much for your help, however my other question is if you have ever had the opportunity to create web processes and services using the odata rest service?

Brayan,

I am not sure what you're asking. Are you referring to consuming the Creatio OData API? If that is the case, you can see Postman examples of this here: 

https://documenter.getpostman.com/view/10204500/SztHX5Qb

Ryan

Show all comments