97Display Assign User icon

97Display Assign User

Assign User notifications via 97Display notification API

97Display Assign User

AI-generated

Overview

This node assigns a user to a lead using the 97Display notification API. It is useful in workflows where leads need to be dynamically assigned to users based on incoming webhook data or workflow context. For example, when a new lead is received via a webhook, this node can assign the lead to a selected user by calling an internal API endpoint.

Use Case Examples

  1. Assigning a lead to a user after receiving lead data from a webhook.
  2. Automatically assigning workflow tasks to specific users based on workflow ID.

Properties

Name Meaning
Organization ID The ID of the organization, extracted from the webhook data.
Workflow ID The ID of the current workflow.
AssignUser The user to assign the lead to, selectable from a dynamically loaded list of users.
APIKey API key used for authenticating requests to the internal API.
InternalAPIUrl Base URL of the internal API used to assign users and fetch user lists.

Output

JSON

  • json - Response from the internal API after assigning the user, including success or error details.

Dependencies

  • Requires an API key credential for authentication to the internal API.
  • Needs environment variables for API key and internal API URL.

Troubleshooting

  • If user loading fails, the node falls back to loading users by workflow ID or returns a default error option.
  • Common errors include API request failures due to invalid API key or incorrect internal API URL.
  • Ensure the webhook data contains the required OrganizationId and LeadId fields.
  • If the AssignUser parameter is not properly formatted JSON or string, parsing errors may occur.

Links

Discussion