User Manual

Slack Get Users

2/10/25
Slack Get Users

The Slack Get Users action is used to retrieve a list of users in a Slack workspace. This action allows your application to access team member information in bulk. It is particularly useful for team management, creating user selection lists, role-based filtering, or reporting scenarios.

Technical Specifications

  • Retrieving User List: The Slack Get Users action retrieves a list of users via the Slack API.
  • Parameter Compatibility:
    • settings (Object – required): Configuration information required for Slack integration.
    • cursor (String – optional): Used for pagination; the cursor value returned by the API must be entered to retrieve the next list of users.
    • limit (Int32 – optional): Maximum number of users to return. By default, it attempts to fetch all users, but setting a specific limit is recommended for performance.
  • Value Binding: Fixed values can be entered, or dynamic values (Action Result, Current, Form Component, Screen Input, etc.) can be bound via the Symbol Picker tool.
  • Web & Mobile Support: The action can be used in both web and mobile applications.

Slack Get Users Action Application Steps

1. Defining the Action in UI Design

  • Open your project on the Kuika platform.
  • In the UI Design module, select the screen where you want to access the user list.
  • Add a button (e.g., “Get Users”).
  • Select the button and add the OnClick → Slack → Get Users action from the + ADD ACTION menu.

2. Configuring Parameters

  • settings (required): Select the defined settings for Slack integration.
  • cursor (optional): If you want to get users after the first query, enter the cursor value returned from the previous call here.
  • limit (optional): For example, if you enter 20, a maximum of 20 user details will be returned.

Use Case: Listing Team Members in Slack

This can be used in a management application to display the names and email addresses of all Slack users.

Steps:

  1. Add a button in UI Design: “Get Users”.
  2. Add the OnClick → Slack → Slack Get Users action.
  3. Enter a value such as 20 in the limit parameter.
  4. Display the returned user results in the Table element.

Slack Get Users Advanced Customizations

  • Pagination: If the number of users exceeds the limit, the next users can be fetched using the “Show More” button with the cursor parameter.
  • Filtering: The returned results can be filtered by department or role information.
  • Dynamic Use: The limit value can be obtained from the input field according to user preferences.

Technical Risks and Controls

  • settings must not be empty, otherwise the API call will not work.
  • The cursor value should only be used with valid values returned from the API.
  • If the limit is set too high, performance issues may occur.
No items found.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar