Actions17
Chat → Contact
AI-generatedSummary
Stores user contact information in the current conversation context.
Inputs
- name — Name of the user
- email — Email of the user
- phone — Phone of the user
- docId — User Document ID
- docType — User Document Type
Output shape
Returns the original input data unchanged. Returns the first input item ([this.getInputData(0)]) when no conversation exists in execution memory; returns all input data ([this.getInputData()]) when a conversation exists.
The operation always returns input data; it does not transform or filter the payload.
Examples
Example 1: Add contact details when a conversation is already active.
Provide values for name, email, phone, docId, and/or docType. The operation stores these in the conversation's pendingContact and flushes pending messages/contact to the backend via cflushInput.
Example 2: Run without an active conversation.
Provide any or all contact parameter values. The operation returns the first input data item without modifying conversation state, since no conversation exists in memory.