โ02-29-2024 01:09 PM
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.