Bluesky
Create posts, view profiles, and search content on Bluesky.
On this page
Connect
Auth type: Credentials form (custom_auth). Pass the fields the provider needs (listed below) as the connection's credentials. They are sealed at rest.
| Field | Type | Description |
|---|---|---|
handlerequired | text | Your Bluesky handle (e.g. user.bsky.social) |
appPasswordrequired | secret | Generate an App Password in Bluesky Settings > App Passwords |
- From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
- Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
- Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.
Call it from a workflow
step.ctx.integrations.invoke("bluesky", action, input) resolves with the provider's answer and rejects when Bluesky isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "bluesky"} says whether yours can call it.
// workflows/notify.ts: call Bluesky when a booking is confirmed
import { on } from "@appbricx/workflows";
export const tellBluesky = on.transition("booking", "status", "confirmed", async (_event, step) => {
// Recorded once: a retry doesn't send it twice. Rejects when Bluesky isn't connected.
const output = await step.run("Bluesky", () =>
step.ctx.integrations.invoke("bluesky", "createPost", {
"text": "<post text>"
}),
);
step.ctx.log("Bluesky answered", output);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "bluesky",
"piece_action": "createPost",
"input": {
"text": "<post text>"
},
"env": "dev"
}
}curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/bluesky/createPost" \
-H "Authorization: Bearer $APP_KEY" \
-H "content-type: application/json" \
-d '{"props":{"text":"<post text>"}}'Actions
createPost
Create Post. Create a new post on Bluesky
Also accepted as create_post.
| Input | Type | Description |
|---|---|---|
postTypeoptional | one of "text" | "photo" | "link" | "reply" | "quote" | Type of content you're sharing |
textrequired | long text | What do you want to post? (Max 300 characters) |
languageoptional | one of "en" | "es" | "fr" | "de" | "it" | "pt" | "ja" | "ko" | "zh" | "ru" | "ar" | "hi" | Language of your post |
imageUrlsoptional | array | Add up to 4 images by URL |
imageDescriptionsoptional | array | Describe each image for accessibility |
videoUrloptional | text | Link to video file (MP4, max 100MB) |
videoAltTextoptional | long text | Describe the video for accessibility |
videoCaptionsoptional | array | Caption file URLs (optional) |
linkUrloptional | text | URL to share with your post |
replyToPostoptional | text | URL of post to reply to |
threadContentoptional | array | Create additional connected posts |
additionalHashtagsoptional | text | Add hashtags (e.g., tech,bluesky) |
contentWarningsoptional | list of | Add warnings for sensitive content |
audienceoptional | one of "public" | "followers" | "unlisted" | Who can see this post |
findPost
Find Post. Get detailed information about a specific post
| Input | Type | Description |
|---|---|---|
postUrlrequired | text | Paste the Bluesky post URL (e.g., https://bsky.app/profile/username.bsky.social/post/xxx) |
findThread
Find Thread. Get a full conversation thread with replies
| Input | Type | Description |
|---|---|---|
postUrlrequired | text | Paste the Bluesky post URL (e.g., https://bsky.app/profile/username.bsky.social/post/xxx) |
depthoptional | one of "1" | "2" | "3" | "5" | "10" | "20" | "50" | "100" | How many levels deep to retrieve replies |
parentHeightoptional | one of "0" | "1" | "2" | "3" | "5" | "10" | "20" | "80" | How many parent posts to retrieve |
likePost
Like Post. Like a post on Bluesky
| Input | Type | Description |
|---|---|---|
selectionMethodrequired | one of "timeline" | "manual" | How to choose the post |
postSelectionoptional | id (picked from your account) | Choose from your recent timeline posts (only when "From my timeline" is selected above) |
postUrloptional | text | Paste the Bluesky post URL |
repostPost
Repost Post. Share someone else's post to your timeline
| Input | Type | Description |
|---|---|---|
selectionMethodrequired | one of "timeline" | "manual" | How to choose the post |
postSelectionoptional | id (picked from your account) | Choose from your recent timeline posts (only when "From my timeline" is selected above) |
postUrloptional | text | Paste the Bluesky post URL |
Details
- Id
bluesky- Category
- Social media
- Tags
- social, microblogging, decentralized, at-protocol
- Package
@activepieces/piece-bluesky@0.1.3- Runs
- Through the integration runner