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": {args.current_trigger.id},
"current_trigger_name": {args.current_trigger.name},
"first_trigger_id": {args.first_trigger.id},
"first_trigger_name": {args.first_trigger.name},
"predefined_trigger_id": {args.predefined_trigger.id},
"predefined_trigger_name": {args.predefined_trigger.name}
}
Last updated on by Remigijus Kiminas