Listening for Events
Learn how to listen for events emitted for each action executed by each Lamba services
Listening for emitted events
The code snippet below shows how you can listen for events emitted by the Lamba JS library:
The data
emitted contains the id
of the action stored on Lamba. You can use the id to query the Lamba API to get the status and other information about that action performed.
Kind of events emitted in the Lamba UI:
Event Name
Description
emailSent
returns the id of action for the sent email as {id: "action_id_here..."}
smsSent
returns the id of action for the sent SMS as {id: "action_id_here..."}
paymentVerified
returns the id of action for the payment transaction as {id: "action_id_here..."}
Last updated
Was this helpful?