cancel
Showing results for 
Search instead for 
Did you mean: 

Connector SDK - Access webhook notification in Hybrid Trigger Poll

jramirez
Deputy Chef I
Deputy Chef I

Hi,

Is it possible to get the payload of a notification that triggered the poll lambda in a hybrid trigger?

Example:

# poll lambda on my hybrid trigger
poll: lambda do |connection, input, closure, _eis, _eos, payload|
    # get data from notification to use in the polling process
    payload.dig('some field in my notification')
end

The SDK reference (https://docs.workato.com/developing-connectors/sdk/sdk-reference/triggers.html#poll) doesn't mention anything about it, but it feels like it would make perfect sense to be able to access data from the notification that triggered the poll in the first place.

0 REPLIES 0