Skip to main content

Connect to Lark Base

Sophie avatar
Written by Sophie
Updated yesterday

Definition and Usage

Use this command to connect to a specific Lark Base so you can run subsequent automation actions against it. Provide a valid access token and the exact Base URL to establish the connection. After connecting, store the Base object for reuse in later steps to avoid repeated logins.

Parameter Values

Input Parameters

Parameter Name

Description

Possible Values

Required

Options / Notes

Access token

Authentication token for Lark API access.

A token obtained via a prior command

Yes

Generate it using the “Get Lark access token” command; ensure it hasn’t expired.

Lark Base URL

The address of the target Lark Base.

A full URL copied from the browser

Yes

Copy directly from the Base page to avoid typos; ensure you have access permissions to this Base.

Advanced Settings

No advanced settings available.

Error Handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will stop execution.

Retry command

The action retries the command if an error occurs.

Ignore error & continue

The action ignores the error and continues workflow execution.

Variables Produced

This action produces a reusable reference to the connected Lark Base. Use it in later Lark-related steps to read, write, or manage data without reconnecting. Store it in a clearly named variable so downstream actions can target the same Base instance.

Using Variables in Conditions

You can pass dynamic values from earlier steps into this command. For example, use a token obtained at runtime or a URL determined by prior logic. If the UI shows {x} next to a field, it indicates that the field supports variables. This helps you build workflows that adapt to different environments or Base targets without hardcoding values.

Notes

  • Ensure you’ve already generated a valid Lark access token before running this command.

  • Verify that the Lark account linked to the token has permission to access the specified Base.

  • Use the exact Base URL from the browser; incorrect or partial URLs will cause connection failures.

  • Store the Base object and reuse it in subsequent steps to improve performance and consistency.

Did this answer your question?