Webhook listener | Community
Skip to main content
August 10, 2021
Question

Webhook listener

  • August 10, 2021
  • 1 reply
  • 2538 views

Hi,

 

Can we create custom webhook listener using runtime? If its can anyone direct to documentation or setup guidelines? Is there any limitations? 

Also, events will be triggered from non-adobe applications.

 

Thanks

Naveen

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
August 24, 2021

Hi @naveen_srinivas - if you want to make your Runtime action a webhook listener, the only requirement is to make it a web action which can be called via HTTP. See https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/guides/creating_actions.md#invoking-web-actions.

I assume you don't use I/O Events for these non-Adobe triggers. If they are through I/O Events, there could be better alternatives than webhook listeners, namely Journal API and Runtime action listener (without making it a web action), depending on your specific needs.

August 24, 2021

Thanks for your reply,

 

I had built web-actions but am not able to see all invokes. Also non-adobe application is triggering 25calls/sec. 

 

Thanks

Naveen

August 30, 2021

We also support aio-lib-state for key-value store. However that is not a good place for JSON data.

If you are writing / reading data asynchronously, you should store them in separate files. I'm not sure how complex your data retrieval will be, but the OOTB Files / State SDK in Firefly are only for simple stuff (not querying, filtering). Instead you may want to bring your own storage solution (Azure Cosmos DB, AWS DynamoDB, etc.)

When you go to the Github repo of those SDKs, lots of docs are available in Readme. For an overview of state management in Firefly, this is a good one: https://www.adobe.io/project-firefly/docs/guides/application_state/.


Our data is quite simple. Also our vendor has accepted to do 10calls/sec so I am thinking to go with IO runtime existing features. However will discuss with my internal team and will take final actions.

 

Thanks @duynguyen_adobe for all your assistance.