Is it possible to set slot value in custom connector?

Hi,

I have a rule with a condition like this

rules:
  - rule: test rule
    condition:
    - slot_was_set:
      - my_slot: true
    steps:
      - intent: A
      - action: B

The problem is my_slot must be set by custom connector once the request comes. Is it possible?

Thanks.

1 Like

Hi @jiranun. I believe you will want to create a custom version of action_session_start and session_started_metadata :slight_smile:

2 Likes

Thank you! It works! :+1: :+1: :+1:

However, it doesn’t work if the slot will be changed in the same session, so I’ve applied your solution with channel-specific-response too :grin:

1 Like