> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Turnkey Integration

Turnkey empowers developers to automate complex blockchain workflows—from token transfers and liquidity management to cross‑chain swaps—using a single,...

![Turnkey logo](https://ai-icon.b3.fun/logo/turnkey) Integration available

Turnkey empowers developers to automate complex blockchain workflows—from token transfers and liquidity management to cross‑chain swaps—using a single, programmable interface. By chaining actions like token disbursements, wallet creations, and DeFi operations, you can build fully automated, gas‑optimized processes that run reliably on any EVM‑compatible network.


**[Public page](https://b3os.org/integrations/app/turnkey)**

Open the user-facing integration overview for examples, templates, and sharing.
  **[Action reference](/actions/reference)**

Schema-level references for executable actions and test payloads.
  **[Trigger reference](/actions/trigger-reference)**

Event and schedule triggers that can start B3OS workflows.

## Build With Turnkey

Use Turnkey when a workflow needs to call Create Wallets or related Turnkey operations from a typed B3OS action. Start in the visual editor to connect an account, then use the references below for payload shape, required fields, and API testing.

## Available Actions

| Action | ID | Connector | Required fields |
| --- | --- | --- | --- |
| ![Create Wallets logo](https://cdn.b3.fun/b3os-icons/turnkey.svg) [Create Wallets](/actions/reference/generated/create-turnkey-wallets) | `create-turnkey-wallets` | `-` | - |


## Available Triggers

No trigger references are published for this integration yet.


## Common Use Cases

**Automated Token Distribution**

Schedule and execute periodic token drops to users or stakeholders with precise amounts and destinations.
  **Dynamic Liquidity Management**

Add or remove liquidity across multiple DEXes to maintain optimal pool balances without manual intervention.
  **Cross‑Chain Swap Orchestration**

Route trades through the most cost‑effective DEX or bridge, execute gas‑less swaps, and settle in the desired chain.
  **DeFi Position Management**

Open, adjust, and close positions on platforms like Morpho and Polymarket, including claiming rewards and rebalancing allocations.

## Connector Notes

- Create the connector from a trusted B3OS organization before publishing workflows that call external accounts.
- Keep OAuth tokens, API keys, bot tokens, channel IDs, and account IDs in connector settings or workflow props, not in reusable public template text.
- Test with the visual editor or `POST /v1/actions/{type}/test` before routing production traffic.

## Related Templates

| Template | Description | Tags |
| --- | --- | --- |
| [Payments: Bulk Pay &amp; Get Notified](https://b3os.org/templates/multi-wallet-token-send-slack-ping) | Send any ERC-20 token on Base to a list of wallets in a single transaction, and get a Slack p... | slack-v2, erc20, transfer, disperse, batch-transfer |

## FAQ

**What types of actions can I automate with Turnkey?**

You can automate token transfers, wallet creation, DEX liquidity management, cross‑chain swaps, staking, claim flows, and more using the listed actions.
  **Do I need to manage private keys manually?**

Turnkey handles key management securely, allowing you to sign and execute transactions programmatically without manual key handling.
  **Is the automation gas‑optimized?**

Yes, actions like CoW Swap and V3 DEX operations are designed to minimize gas costs, and you can batch multiple steps into a single transaction.
  **Can I integrate with existing DeFi protocols?**

Turnkey’s actions cover major protocols such as Morpho, Railgun, Polymarket, and V3/V2 DEXs, enabling seamless integration with your existing DeFi stack.
  **How do I monitor the status of automated workflows?**

You can query on‑chain events, use Turnkey’s SDK for real‑time status updates, and set up webhooks to trigger notifications on completion or failure.