Skip to main content

Log action

This trigger logs custom content into separate table lh_chat_action.

Bot configuration can look like this

In above scenario we log

  • Current trigger data
  • First trigger which was executed as soon bot workflow started
  • Trigger data which execute Log action trigger from using Send predefined block response type

About first_trigger, current_trigger variables you can read in Text messages

predefined_trigger - is a special variable is available only if Log action trigger is called from Send predefined block

"current_trigger_id": {},
"current_trigger_name": {},
"first_trigger_id": {},
"first_trigger_name": {},
"predefined_trigger_id": {},
"predefined_trigger_name": {}

Log itself can be fetched using Rest API and chat_actions prefill variable in call.