Skip to main content

How to set up a PickFu AI assistant in Feishu using OpenClaw

Set up Polly, PickFu's AI assistant, inside Feishu chat by connecting OpenClaw using cloud or local deployment.

Updated this week

This guide walks you through how to set up a PickFu AI assistant (named Polly) by connecting OpenClaw to Feishu. Once connected, Polly can launch surveys, analyze results, and suggest improvements without you ever leaving Feishu.

There are two setup methods: a cloud deployment (recommended, around 2 minutes) or a local deployment (advanced, for teams that need full data control). Whichever you choose, you'll also need to link your PickFu account.

What does Polly do?

Once set up, Polly works directly from Feishu chat:

  • Launch surveys. Tell Polly what to test and it creates and publishes the PickFu survey for you. Real responses come in roughly 30 minutes.

  • Analyze results. Polly tells you who won, why, and where audience segments disagree.

  • Suggest improvements. Get concrete next steps based on real consumer feedback.

No tab-switching, no logging into PickFu manually—everything happens in Feishu.

Choose your setup method

Required: Whichever method you choose, you must complete the Connect your PickFu account step before Polly can work.

Cloud (Feishu Miaoda)

Local (OpenClaw)

Setup time

~2 minutes

30–60 minutes

Technical skill

None

Basic command line

Always online

Yes, Feishu-hosted

Requires your PC on

Data privacy

Feishu servers

Fully self-controlled

Best for

Most users

Privacy and power users

Not technical? Go to Option 1 (cloud). Need full data control? Go to Option 2 (local).

Option 1: Cloud deployment (recommended, ~2 minutes)

Once done, jump to Connect your PickFu account.

Step 1 – Open Feishu Miaoda

Go to https://miaoda.feishu.cn/bot, log in with your Feishu account, click "One-click Deploy".

Step 2 – Name your AI and pick an avatar

Enter a name (e.g. "Polly"), choose an avatar, click "Start Deploy".

Step 3 – Wait 10–30 seconds, then start chatting

The system auto-configures everything. Click "Chat Now" – Feishu opens a DM with your new bot.

Done! Polly is live. Go to Part 3 to link your PickFu account.

Ran into an issue? Describe it in the Miaoda chat – the AI fixes it automatically.

Want a different model? (e.g. Claude, DeepSeek) Tell Polly and provide your API Key + Base URL.

Option 2: Local deployment (advanced, full data control)

Once pairing is complete, jump to Connect your PickFu account.

Prerequisites

  1. PickFu account — sign up at pickfu.com

  2. Feishu enterprise account — needs permission to create custom apps

  3. Node.js installed — download LTS from nodejs.org. Verify: type node -v in Terminal.

Step 1 – Install OpenClaw

Open Terminal (Windows: Win+R → cmd | Mac: Command+Space → Terminal):

npm install -g openclaw@latest
openclaw plugins install @openclaw/feishu

Note: OpenClaw 2026.2+ has Feishu built in – skip if it says already installed.

openclaw mcp set pickfu '{"url":"https://mcp.pickfu.com/mcp"}'

Windows users: quotes must be standard English quotation marks. Paste into Notepad to check if you get an error.

Step 2 – Create a bot on Feishu developer platform

  1. Go to open.feishu.cn/app"Create Enterprise Internal App" → name it "PickFu Polly"

  2. Go to Credentials & Basic Info → copy App ID and App Secret

  3. Go to Permission ManagementBulk Import → paste this JSON:

{"scopes":{"tenant":["im:message","im:message:send_as_bot","im:message:readonly","im:message.p2p_msg:readonly","im:message.group_at_msg:readonly","im:resource","im:chat.members:bot_access","contact:user.employee_id:readonly"],"user":["im:chat.access_event.bot_p2p_chat:read"]}}
  1. Go to App CapabilitiesBot → Enable, name it "Polly"

  2. Stop here – start Gateway first (Step 3), then come back.

Step 3 – Start the Gateway (keep this window open)

openclaw channels add

Choose Feishu when prompted, then enter your App ID and App Secret.

openclaw gateway

Logs will scroll — if there are no red errors, the Gateway is running.

Keep this window open. Minimize it, don't close it.

Step 4 – Configure event subscription and publish

  1. Developer platform → Event Subscriptions → select "Persistent connection (WebSocket)"

  2. Add event: select im.message.receive_v1 → save

  3. Version Management & ReleaseCreate VersionSubmit for Review

Step 5 – Pair with Polly in Feishu

  1. In Feishu, search for your bot name, send any message

  2. Bot replies with a pairing code (e.g. ABC123)

  3. In terminal:

openclaw pairing approve feishu ABC123

Pairing complete! Now connect your PickFu account (see below).

Connect your PickFu account (required for both methods)

The process is the same for both methods. You only have to do this once.

Step 1 – Find Polly in Feishu

Open Feishu (mobile or desktop), tap Messages, search your bot name (e.g. "Polly"), open the chat.

Cloud users: go to miaoda.feishu.cn/bot and click "Chat Now" to jump straight there.

Step 2 – Send this message

Log me into PickFu 

Polly replies with an authorization link to click.

Step 3 – Authorize in your browser

  1. Click the link Polly sent

  2. Browser opens the PickFu login page

  3. Log in with your PickFu email and password

  4. Click Authorize

  5. See the success page, go back to Feishu

Done! Polly now has access to your PickFu account. No need to repeat this.

No PickFu account? Sign up free at pickfu.com first.

Authorization expired? Send "Log me into PickFu" again.

How to start using Polly

Launch a survey:

Create an A/B test comparing these two product titles, 50 US respondents

Analyze results:

Analyze the results of my last survey — who won and why?

Get optimization suggestions:

Based on the consumer feedback, give me specific recommendations for what to improve

FAQs

My cloud token allowance ran out. What do I do?

Tell Polly in Miaoda which model to switch to, and provide the API Key and Base URL for that model.

Polly isn't responding after local setup. What should I check?

Check that openclaw gateway is still running in your terminal. If the window was closed, run it again.

The event subscription won't save. What's wrong?

The Gateway must be running before Feishu will save the event subscription. Start it first, then go back and save.

Do both setup methods support all PickFu features?

Yes. Cloud and local deployments both give you full access to every PickFu feature.

The authorization link isn't working. What now?

Open it in your system browser rather than Feishu's built-in browser.

Did this answer your question?