ZenFlo

Interact with ZenFlo mobile sessions

Actions4

Overview

This node interacts with ZenFlo mobile sessions, specifically allowing users to send messages to a session and optionally wait for a user reply. The 'Send and Wait' operation sends a message to a specified session and then polls for a user response within a configurable timeout period. This is useful in scenarios where you need to engage in a two-way conversation with a user, such as customer support or interactive surveys.

Use Case Examples

  1. Send a message to a user session and wait for their reply to proceed with workflow logic.
  2. Send a notification message to a session without waiting for a response (using the 'Send' operation).

Properties

Name Meaning
Session ID The ZenFlo session ID to interact with, identifying the target session for sending messages or managing sessions.
Message The message content to send to the session.
Timeout (seconds) Maximum time to wait for a user response when using the 'Send and Wait' operation. Defaults to 300 seconds (5 minutes).
Poll Interval (seconds) How often the node checks for a user response during the wait period. Defaults to 2 seconds.

Output

JSON

  • messageId - The unique identifier of the sent message.
  • userReply - The user's reply message content received during the wait period.
  • sessionId - The session ID associated with the message and reply.

Dependencies

  • Requires an API key credential for ZenFlo API access, including the API URL and API key.

Troubleshooting

  • Timeout error if no user response is received within the specified timeout period. Increase the timeout or check if the user is active in the session.
  • API authentication errors if the API key is invalid or missing. Ensure correct credentials are configured.
  • Network or connectivity issues when calling the ZenFlo API endpoints.

Discussion