Save successful code executions and replay them automatically when you send a similar prompt
Saved Actions let Pinkfish remember code that has already been written and executed for you, so the next time you send a similar prompt, the same working solution can be reused instantly. This cuts down on redundant code generation, makes repeated tasks faster, and keeps known-good patterns at your fingertips.
How It Works
When an agent writes and successfully executes code to answer one of your prompts, you can save that prompt + code pair by giving it a thumbs-up. Pinkfish stores the pair in a vector index scoped to you, your organization, and (optionally) a shared global pool.The next time you send a prompt, Pinkfish performs a similarity search against these saved pairs. If a strong enough match is found, the matching code is suggested to the agent as a starting point — the agent can run it as-is, adapt it, or ignore it and generate fresh code.Matching is cascading: your personal saved actions take priority, then your organization’s, and finally the global pool shared across all organizations.
Walkthrough
The best way to understand Saved Actions is to walk through a full round-trip: send a prompt that triggers code execution, save it with thumbs-up, then send a similar prompt in a new chat and watch it replay.
1. Send a prompt that triggers code execution
In a new chat, send a prompt that the agent will clearly answer by writing and running code — for example:
Use code to compute the sum of squares from 1 to 100 and return the result as a single integer.
The agent generates code, executes it, and returns the answer. When a response includes a successful code execution, the thumbs-up and thumbs-down buttons appear below it.Here’s the key part of the response close up — the thumbs controls sit directly under the agent’s answer:
2. Thumbs-up to save
Click thumbs-up to save the prompt and the executed code as a new saved action. The thumbs-up turns green and a confirmation appears:
The prompt saved is the original request you sent — not any intermediate tool calls — and the code saved is the last successful code execution from that response.
3. See it in your Saved Actions list
Open Settings → Saved Actions (under PERSONAL) and the new entry appears immediately, with the prompt preview and creation date.
4. Replay it from a new chat — automatic match
Start a new chat and send a similar (but not identical) prompt:
With code, please calculate the sum of squares from 1 to 100 and give me the integer.
Because the semantic similarity is above the match threshold, Pinkfish intercepts the prompt and suggests the saved code to the agent. The response is tagged with an amber Saved action pill above it, so you know the answer came from a cache hit rather than a fresh generation:Full chat view for context:On a cache hit, the thumbs controls behave differently:
Thumbs-up now means “This result was correct” — confirming that the replayed saved action was the right one to use.
Thumbs-down means “Delete this saved action” — removing it so it won’t be used again. You’ll be asked to confirm before the entry is deleted.
If the agent adapts the cached code rather than running it as-is, thumbs-up on the new response saves the adapted version as a new saved action, linked back to the original. This lets the cache evolve over time as your prompts shift, without overwriting the entry that someone else might still be matching against.
5. Insert a saved prompt manually with /
You can also replay a saved action by hand. In any chat input, press / on an empty line to open the Saved Actions picker:
Type to search by prompt text.
Click an entry to insert its prompt into the chat input so you can send it (or edit it first).
Click the trash icon on a row to delete that saved action.
Managing Your Saved Actions
The Settings → Saved Actions page (under PERSONAL) is where you manage everything you’ve saved.From this page you can:
Enable Saved Actions — toggle the entire feature on or off for your account. When disabled, the thumbs-up controls and the / slash command in chat are hidden, and no automatic matching is performed against your prompts.
Your Saved Actions — browse the full list, with the prompt preview and creation date for each entry.
Delete — remove any individual saved action with the trash icon.
Organization-Level Controls
Organization administrators have an additional settings page under Settings → Saved Actions (in the ORGANIZATION section).
Opt out of global saved actions pool — when enabled, prompt matching only considers saved actions created by members of your organization. The global pool shared across all Pinkfish organizations is excluded.
Use this toggle when your organization wants stricter isolation — for example, to make sure prompts are only answered with code that has been reviewed and approved internally.
Scope and Privacy
Every saved action is tagged with the user and organization that created it. When a prompt comes in, Pinkfish queries all eligible scopes at once and returns the strongest match, with priority broken in this order:
Personal — your own saved actions.
Organization — saved actions created by any member of your organization.
Global — saved actions created by any Pinkfish user, unless your organization has opted out of the global pool.
A saved action is only ever visible to its creator in the Settings UI — other users can’t browse your list, even if their prompts match and reuse your code. Organization administrators can toggle the global-pool opt-out, but cannot view, edit, or delete saved actions made by individual members of the org.
Notes
Saved Actions are enabled by default for all accounts. Administrators can’t disable the feature org-wide, but individual users can turn it off from Settings → Saved Actions.
There’s no expiry: saved actions live until you delete them, either from the Settings page, from the / slash command picker, or by thumbs-down on a cached response.
Only successful code executions trigger the save-able state — if an agent’s response didn’t run code, the thumbs-up control won’t appear.
Saved actions aren’t deduplicated. Thumbs-upping the same prompt + code twice creates two entries; remove duplicates from Settings → Saved Actions if you want to keep the list tidy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/pinkfishai/aXo4WZLzYGCBq4ta/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=aXo4WZLzYGCBq4ta\u0026q=85\u0026s=5982b8c7681e4a4ae9b91d86646a3109","dark":"https://mintcdn.com/pinkfishai/aXo4WZLzYGCBq4ta/logo/logo-light.png?fit=max\u0026auto=format\u0026n=aXo4WZLzYGCBq4ta\u0026q=85\u0026s=7e28f108b891d7443509634519c91db1"},"favicon":"https://mintcdn.com/pinkfishai/aXo4WZLzYGCBq4ta/logo/fish.png?fit=max\u0026auto=format\u0026n=aXo4WZLzYGCBq4ta\u0026q=85\u0026s=a1e49a1bc05b6029a7f84dd799eacfd5","api":{"openapi":"api-reference/openapi.json"},"navbar":{"links":[{"href":"mailto:support@pinkfish.ai","label":"Support"}],"primary":{"type":"button","label":"Login","href":"https://app.pinkfish.ai/signin"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/getpinkfish","youtube":"https://www.youtube.com/@getpinkfish","discord":"https://discord.com/invite/HaDg7R4VZG"}},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pinkfishai","hasAudioNarration":false,"actualSubdomain":"pinkfishai","customDomains":["docs.pinkfish.ai"],"gitSource":{"type":"github","owner":"brig-pinkfish","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af62242ff13ba6c1a19ce92","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1113},{"language":"default","tag":"Application MCP Servers","count":1061},{"language":"default","tag":"Documentation","count":69},{"language":"default","tag":"Embedded MCP Servers","count":33},{"language":"default","tag":"genesys","count":27},{"language":"default","tag":"Workflows","count":24},{"language":"default","tag":"Agent Mode","count":15},{"language":"default","tag":"Platform API","count":14},{"language":"default","tag":"Tools","count":12},{"language":"default","tag":"Agents","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles/custom.css","content":"html{scroll-padding-top:100px}html{scroll-behavior:smooth}"}]}
{"page":{"pagePath":"coworker/saved-actions","slug":"/coworker/saved-actions","pageMetadata":{"title":"Saved Actions","description":"Save successful code executions and replay them automatically when you send a similar prompt","icon":"bookmark","href":"/coworker/saved-actions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Save successful code executions and replay them automatically when you send a similar prompt\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Saved Actions let Pinkfish remember code that has already been written and executed for you, so the next time you send a similar prompt, the same working solution can be reused instantly. This cuts down on redundant code generation, makes repeated tasks faster, and keeps known-good patterns at your fingertips.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsx(_components.p,{children:`When an agent writes and successfully executes code to answer one of your prompts, you can save that prompt + code pair by giving it a thumbs-up. Pinkfish stores the pair in a vector index scoped to you, your organization, and (optionally) a shared global pool.`}),`\n`,_jsx(_components.p,{children:`The next time you send a prompt, Pinkfish performs a similarity search against these saved pairs. If a strong enough match is found, the matching code is suggested to the agent as a starting point — the agent can run it as-is, adapt it, or ignore it and generate fresh code.`}),`\n`,_jsx(_components.p,{children:`Matching is cascading: your personal saved actions take priority, then your organization’s, and finally the global pool shared across all organizations.`}),`\n`,_jsx(Heading,{level:`2`,id:`walkthrough`,children:`Walkthrough`}),`\n`,_jsx(_components.p,{children:`The best way to understand Saved Actions is to walk through a full round-trip: send a prompt that triggers code execution, save it with thumbs-up, then send a similar prompt in a new chat and watch it replay.`}),`\n`,_jsx(Heading,{level:`3`,id:`1-send-a-prompt-that-triggers-code-execution`,children:`1. Send a prompt that triggers code execution`}),`\n`,_jsx(_components.p,{children:`In a new chat, send a prompt that the agent will clearly answer by writing and running code — for example:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`Use code to compute the sum of squares from 1 to 100 and return the result as a single integer.`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`The agent generates code, executes it, and returns the answer. When a response includes a successful code execution, the thumbs-up and thumbs-down buttons appear below it.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=5d5607ae96e0fdf631dd9d74c1d37ec6`,alt:`Chat response with code execution result and thumbs-up / thumbs-down buttons`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/chat-with-code-execution.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=85043fafe05bf19302909a5bb3a23bc6 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=d79994f7ba5e963f487e71e5af93bbd8 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=cd5c48c3445ace91b07ad79112cb8800 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=8dd92e1b0ea1c86b224eca534e8f19b6 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=1a34c4af1bc0e3acca6a0f0083acd828 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/chat-with-code-execution.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=019369d009f678421f180e071e21638a 2500w`}),`\n`,_jsx(_components.p,{children:`Here’s the key part of the response close up — the thumbs controls sit directly under the agent’s answer:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=6384527e9cff06a19948822d2252dd01`,alt:`Close-up of the thumbs-up and thumbs-down buttons below a response`,\"data-og-width\":`1200`,width:`1200`,\"data-og-height\":`216`,height:`216`,\"data-path\":`images/saved-actions/thumbs-close.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=c6f35a3e10dab53fed75236bb8775dc0 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=c27e4394ba0f9dc7b761dcbc9a7b651c 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=36a64dfb222d8aab725170fb123fb7f9 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=e2890c9ed5f6948f43972906818213bf 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=8cb2e389137675b7909c54bcffbfcfb5 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-close.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=9e323d1a5d055ac51bf57bbf78145b03 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`2-thumbs-up-to-save`,children:`2. Thumbs-up to save`}),`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`thumbs-up`}),` to save the prompt and the executed code as a new saved action. The thumbs-up turns green and a confirmation appears:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=1198b3a6b1ae1b5fe8f6be0b925c3279`,alt:`Thumbs-up is green with \"Saved action created\" shown next to it`,\"data-og-width\":`1200`,width:`1200`,\"data-og-height\":`216`,height:`216`,\"data-path\":`images/saved-actions/thumbs-saved-close.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=faf94c8534e279f43b71d665fc3bb0f7 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=65ded4be14c120742a06306f3ab885b2 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=199ef8097d7fefb672bd58de80a61749 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=11e0f6ff36979f8a149417d206931261 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=a9ad1c095ba47a3301e0489c499ad29c 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/thumbs-saved-close.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=51274db728eb70d74f46ae1e174eef6b 2500w`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`The prompt saved is the original request you sent — not any intermediate tool calls — and the code saved is the last successful code execution from that response.`})}),`\n`,_jsx(Heading,{level:`3`,id:`3-see-it-in-your-saved-actions-list`,children:`3. See it in your Saved Actions list`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Settings → Saved Actions`}),` (under `,_jsx(_components.strong,{children:`PERSONAL`}),`) and the new entry appears immediately, with the prompt preview and creation date.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=992beafc7106cb87ef7d5c0cf81a789d`,alt:`Personal Saved Actions settings page showing the newly saved action`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/saved-actions-populated.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=2564a440dc51740126765a0f9a8ea336 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=c37ef8664641495339a33ba400bca965 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=a0107a112b4106e2c17576c46520b04c 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=9e2129b3d69d38ac9e748860c419ba04 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=e825e8c53e3b4dfbfc756ddea23e97cc 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-populated.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=27fc1378654d52f569cf10d8deea1186 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`4-replay-it-from-a-new-chat-—-automatic-match`,children:`4. Replay it from a new chat — automatic match`}),`\n`,_jsx(_components.p,{children:`Start a new chat and send a similar (but not identical) prompt:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`With code, please calculate the sum of squares from 1 to 100 and give me the integer.`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Because the semantic similarity is above the match threshold, Pinkfish intercepts the prompt and suggests the saved code to the agent. The response is tagged with an amber `,_jsx(_components.strong,{children:`Saved action`}),` pill above it, so you know the answer came from a cache hit rather than a fresh generation:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=2bc87148f6cb53fd54e71e0495c715b0`,alt:`Coworker response with the amber \"Saved action\" badge above the message`,\"data-og-width\":`1400`,width:`1400`,\"data-og-height\":`520`,height:`520`,\"data-path\":`images/saved-actions/saved-action-badge.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=89bfab57fa816db53b2534f32141d7a8 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=75b2c37ca6d07bd3aa7204b9c1df4f01 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=fbf3ec75983aec3ee3562bd835e2421d 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=79415839ca0fa249314601fdaf71bf1d 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=e06ecbbd7b96fdeb628c9184028d32c0 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-badge.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=cd0e0f63733a8e1bde96e2fcd38b3162 2500w`}),`\n`,_jsx(_components.p,{children:`Full chat view for context:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=e4733647d8001e8f1e59a441409d7b55`,alt:`Full chat showing the Saved action replay response`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/saved-action-replay.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=df73237dade908b229647cd80bd4476a 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=a6f426e0131592f5a15aa89a424de71d 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=57ae78b7fb3050e788fab72a12e814f0 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=c0aea1fe58376a7eda27c205d1677c9e 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=65e7e38cb1d92258d1527b5199ff04a6 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-action-replay.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=50a243b52d988652ed0da1b2508ce3fb 2500w`}),`\n`,_jsx(_components.p,{children:`On a cache hit, the thumbs controls behave differently:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Thumbs-up`}),` now means `,_jsx(_components.em,{children:`“This result was correct”`}),` — confirming that the replayed saved action was the right one to use.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Thumbs-down`}),` means `,_jsx(_components.em,{children:`“Delete this saved action”`}),` — removing it so it won’t be used again. You’ll be asked to confirm before the entry is deleted.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If the agent `,_jsx(_components.strong,{children:`adapts`}),` the cached code rather than running it as-is, thumbs-up on the new response saves the adapted version as a `,_jsx(_components.em,{children:`new`}),` saved action, linked back to the original. This lets the cache evolve over time as your prompts shift, without overwriting the entry that someone else might still be matching against.`]})}),`\n`,_jsxs(Heading,{level:`3`,id:`5-insert-a-saved-prompt-manually-with-/`,children:[`5. Insert a saved prompt manually with `,_jsx(_components.code,{children:`/`})]}),`\n`,_jsxs(_components.p,{children:[`You can also replay a saved action by hand. In any chat input, press `,_jsx(_components.code,{children:`/`}),` on an empty line to open the Saved Actions picker:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=3b4db80e826fe78a1b7386976a5e5688`,alt:`Slash-command picker listing the saved action`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/slash-command-populated.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=fb3f4a7e5ab2a21244b7e9e82460b1d8 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=07fdb279f0775e114c12daa7449423d8 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=aeedc0a2d084201bd8024338bf7dc848 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=45359b81ac3dd77668510548cb160d81 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=6cd99b5cd823eb508a1761dea2da759b 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/slash-command-populated.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=942fabd17bd65582c627f2c20efbf480 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Type to search by prompt text.`}),`\n`,_jsx(_components.li,{children:`Click an entry to insert its prompt into the chat input so you can send it (or edit it first).`}),`\n`,_jsx(_components.li,{children:`Click the trash icon on a row to delete that saved action.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`managing-your-saved-actions`,children:`Managing Your Saved Actions`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Settings → Saved Actions`}),` page (under `,_jsx(_components.strong,{children:`PERSONAL`}),`) is where you manage everything you’ve saved.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=5926e6b57d5dcd6d59d044a3fc8fe0f3`,alt:`Personal Saved Actions settings page`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/saved-actions-settings.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=33099c86e9aefc135410a5cb7f08b471 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=2746a18fc62613b1f446571ac632328c 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=649d3d4f114defac6edb0468f075ba3d 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=4dc92ae1dccb59628e270d2bcdd1ca1a 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=b2980c4bf78c0ddf9ebb9008507243b1 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/saved-actions-settings.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=47d9dbb585be09720b2b29c1a5293af6 2500w`}),`\n`,_jsx(_components.p,{children:`From this page you can:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enable Saved Actions`}),` — toggle the entire feature on or off for your account. When disabled, the thumbs-up controls and the `,_jsx(_components.code,{children:`/`}),` slash command in chat are hidden, and no automatic matching is performed against your prompts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your Saved Actions`}),` — browse the full list, with the prompt preview and creation date for each entry.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delete`}),` — remove any individual saved action with the trash icon.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`organization-level-controls`,children:`Organization-Level Controls`}),`\n`,_jsxs(_components.p,{children:[`Organization administrators have an additional settings page under `,_jsx(_components.strong,{children:`Settings → Saved Actions`}),` (in the `,_jsx(_components.strong,{children:`ORGANIZATION`}),` section).`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=dcba7fc87e985cf4655eeba765fab5d8`,alt:`Organization Saved Actions settings page`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/saved-actions/org-saved-actions-settings.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=280\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=ec5b51c652c1020aa396a35d2e168c59 280w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=560\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=9d5f62c2cc9f1e15ea4938028836bf0a 560w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=840\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=64923d25a8a7f29458d7e3bbbc352419 840w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=1100\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=8bb9aba14cd808643abebde9bbc6f45f 1100w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=1650\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=2df41779920ccc003b2524ae91a57f99 1650w, https://mintcdn.com/pinkfishai/agfUCxzyxAwimBi5/images/saved-actions/org-saved-actions-settings.png?w=2500\u0026fit=max\u0026auto=format\u0026n=agfUCxzyxAwimBi5\u0026q=85\u0026s=957dafc0bc268797a5847dea0f7f3032 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Opt out of global saved actions pool`}),` — when enabled, prompt matching only considers saved actions created by members of your organization. The global pool shared across all Pinkfish organizations is excluded.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Use this toggle when your organization wants stricter isolation — for example, to make sure prompts are only answered with code that has been reviewed and approved internally.`}),`\n`,_jsx(Heading,{level:`2`,id:`scope-and-privacy`,children:`Scope and Privacy`}),`\n`,_jsx(_components.p,{children:`Every saved action is tagged with the user and organization that created it. When a prompt comes in, Pinkfish queries all eligible scopes at once and returns the strongest match, with priority broken in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Personal`}),` — your own saved actions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Organization`}),` — saved actions created by any member of your organization.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Global`}),` — saved actions created by any Pinkfish user, unless your organization has opted out of the global pool.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`A saved action is only ever visible to its creator in the Settings UI — other users can’t browse your list, even if their prompts match and reuse your code. Organization administrators can toggle the global-pool opt-out, but cannot view, edit, or delete saved actions made by individual members of the org.`}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Saved Actions are enabled by default for all accounts. Administrators can’t disable the feature org-wide, but individual users can turn it off from `,_jsx(_components.strong,{children:`Settings → Saved Actions`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`There’s no expiry: saved actions live until you delete them, either from the Settings page, from the `,_jsx(_components.code,{children:`/`}),` slash command picker, or by thumbs-down on a cached response.`]}),`\n`,_jsx(_components.li,{children:`Only successful code executions trigger the save-able state — if an agent’s response didn’t run code, the thumbs-up control won’t appear.`}),`\n`,_jsxs(_components.li,{children:[`Saved actions aren’t deduplicated. Thumbs-upping the same prompt + code twice creates two entries; remove duplicates from `,_jsx(_components.strong,{children:`Settings → Saved Actions`}),` if you want to keep the list tidy.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Saved Actions","description":"Save successful code executions and replay them automatically when you send a similar prompt","icon":"bookmark","href":"/coworker/saved-actions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Walkthrough","slug":"walkthrough","depth":2,"children":[{"title":"1. Send a prompt that triggers code execution","slug":"1-send-a-prompt-that-triggers-code-execution","depth":3,"children":[]},{"title":"2. Thumbs-up to save","slug":"2-thumbs-up-to-save","depth":3,"children":[]},{"title":"3. See it in your Saved Actions list","slug":"3-see-it-in-your-saved-actions-list","depth":3,"children":[]},{"title":"4. Replay it from a new chat — automatic match","slug":"4-replay-it-from-a-new-chat-—-automatic-match","depth":3,"children":[]},{"title":"5. Insert a saved prompt manually with /","slug":"5-insert-a-saved-prompt-manually-with-/","depth":3,"children":[]}]},{"title":"Managing Your Saved Actions","slug":"managing-your-saved-actions","depth":2,"children":[]},{"title":"Organization-Level Controls","slug":"organization-level-controls","depth":2,"children":[]},{"title":"Scope and Privacy","slug":"scope-and-privacy","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pinkfishai","siteName":"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done","title":"Saved Actions - Pinkfish - AI Agents \u0026 Workflows for Getting Work Done","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-15T17:05:06.450Z","originalFileLocation":"coworker/saved-actions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Save successful code executions and replay them automatically when you send a similar prompt\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pinkfish - AI Agents \u0026amp; Workflows for Getting Work Done\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Saved Actions - Pinkfish - AI Agents \u0026amp; Workflows for Getting Work Done\">\u003cmeta data-mint-head property=\"og:description\" content=\"Save successful code executions and replay them automatically when you send a similar prompt\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pinkfish - AI Agents \u0026amp; Workflows for Getting Work Done\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pinkfish.ai/coworker/saved-actions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pinkfishai.mintlify.site/_mintlify/api/og/v2?division=Coworker\u0026amp;title=Saved+Actions\u0026amp;description=Save+successful+code+executions+and+replay+them+automatically+when+you+send+a+similar+prompt\u0026amp;theme=a992c00cd895a4a6b5f35340\u0026amp;signature=4b895daf9e9b1534b77fd1a8bdf0e88437b17064c00f15e25d39f26eceb6fd27\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Saved Actions - Pinkfish - AI Agents \u0026amp; Workflows for Getting Work Done\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Save successful code executions and replay them automatically when you send a similar prompt\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pinkfishai.mintlify.site/_mintlify/api/og/v2?division=Coworker\u0026amp;title=Saved+Actions\u0026amp;description=Save+successful+code+executions+and+replay+them+automatically+when+you+send+a+similar+prompt\u0026amp;theme=a992c00cd895a4a6b5f35340\u0026amp;signature=4b895daf9e9b1534b77fd1a8bdf0e88437b17064c00f15e25d39f26eceb6fd27\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pinkfishai/aVsK9pZETSZIFiG7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pinkfish - AI Agents \u0026amp; Workflows for Getting Work Done\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pinkfish.ai/coworker/saved-actions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/coworker/saved-actions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pinkfish.ai/#organization\",\"name\":\"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done\",\"url\":\"https://docs.pinkfish.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pinkfishai/aXo4WZLzYGCBq4ta/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=aXo4WZLzYGCBq4ta\u0026q=85\u0026s=5982b8c7681e4a4ae9b91d86646a3109\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pinkfish.ai#website\",\"name\":\"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done\",\"url\":\"https://docs.pinkfish.ai\",\"publisher\":{\"@id\":\"https://docs.pinkfish.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pinkfish.ai/coworker/saved-actions#webpage\",\"url\":\"https://docs.pinkfish.ai/coworker/saved-actions\",\"name\":\"Saved Actions\",\"description\":\"Save successful code executions and replay them automatically when you send a similar prompt\",\"dateModified\":\"2026-04-15T17:05:06.450Z\",\"isPartOf\":{\"@id\":\"https://docs.pinkfish.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pinkfish.ai/coworker/saved-actions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pinkfish.ai/coworker/saved-actions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Coworker\",\"item\":\"https://docs.pinkfish.ai/coworker/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Saved Actions\",\"item\":\"https://docs.pinkfish.ai/coworker/saved-actions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pinkfish.ai/coworker/saved-actions#article\",\"headline\":\"Saved Actions\",\"name\":\"Saved Actions\",\"description\":\"Save successful code executions and replay them automatically when you send a similar prompt\",\"url\":\"https://docs.pinkfish.ai/coworker/saved-actions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pinkfish.ai/coworker/saved-actions#webpage\"},\"dateModified\":\"2026-04-15T17:05:06.450Z\",\"publisher\":{\"@id\":\"https://docs.pinkfish.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pinkfish.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/coworker/saved-actions.md","siteName":"Pinkfish - AI Agents \u0026 Workflows for Getting Work Done","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Welcome!","href":"/introduction"}]},{"group":"Coworker","icon":"handshake","pages":[{"title":"Getting Started with Coworker","sidebarTitle":"Getting Started","description":"Chat with an AI assistant that connects to all your tools, agents, and knowledge bases","icon":"handshake","href":"/coworker/overview"},{"title":"Saved Actions","icon":"bookmark","href":"/coworker/saved-actions"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"group":"Agent Mode","icon":"bolt","pages":[{"title":"Agent Mode","description":"Design, test, and ship workflows on an infinite canvas — with an AI coding agent that builds alongside you and live execution visible at every step.","icon":"bolt","href":"/agentic-editor/overview"},{"title":"Canvas","icon":"diagram-project","href":"/agentic-editor/canvas"},{"title":"Coding Agent Chat","icon":"comments","href":"/agentic-editor/chat"},{"title":"Adding Nodes","icon":"square-plus","href":"/agentic-editor/adding-nodes"},{"title":"Node Types","icon":"cubes","href":"/agentic-editor/node-types"},{"title":"Triggers","icon":"bolt","href":"/agentic-editor/triggers"},{"title":"Interface Builder","icon":"window-maximize","href":"/agentic-editor/interface"},{"title":"Editor Tabs","icon":"table-columns","href":"/agentic-editor/editor-tabs"},{"title":"Split View","icon":"table-columns","href":"/agentic-editor/split-view"},{"title":"Running a Workflow","icon":"play","href":"/agentic-editor/running"},{"title":"Mock Mode \u0026 Node Pinning","icon":"thumbtack","href":"/agentic-editor/mock-mode-and-pinning"},{"title":"Releases \u0026 Version History","icon":"rocket","href":"/agentic-editor/releases"},{"title":"Workflow Actions Menu","icon":"ellipsis-vertical","href":"/agentic-editor/actions-menu"},{"title":"Sticky Notes \u0026 Canvas Customization","icon":"note-sticky","href":"/agentic-editor/sticky-notes-and-canvas"},{"title":"Monitor Tab","icon":"chart-line","href":"/agentic-editor/monitor"}]},{"group":"Guided Mode","icon":"wand-magic-sparkles","pages":[{"title":"Guided Editor","icon":"wand-magic-sparkles","href":"/guided-editor/overview"}]},{"group":"Triggers","icon":"play","pages":[{"title":"Event Triggers","icon":"bolt","href":"/triggers/event-triggers"},{"title":"Email Triggers","icon":"envelope","href":"/triggers/email-triggers"},{"title":"Verified Inputs","icon":"user-shield","href":"/triggers/verified-inputs"}]},{"title":"Library","icon":"book-open","href":"/workflows/library"},{"title":"Templates","icon":"copy","href":"/workflows/templates"},{"title":"Duplication","icon":"copy","href":"/workflows/duplication"},{"title":"Dev/Stage/Prod Promotion","icon":"arrow-up-right-dots","href":"/workflows/promotion"},{"title":"Workflow FAQs","icon":"circle-question","href":"/workflows/faqs"}]},{"group":"Agents","icon":"robot","pages":[{"title":"AI Agents","icon":"robot","href":"/agents/introduction"},{"title":"My Agents","icon":"table-list","href":"/agents/my-agents"},{"title":"Agent Builder","icon":"wrench","href":"/agents/agent-builder"},{"title":"Instructions tab","icon":"scroll","href":"/agents/instructions"},{"title":"Tools tab","icon":"screwdriver-wrench","href":"/agents/tools"},{"title":"Resources tab","icon":"folder","href":"/agents/resources"},{"title":"Channels tab","icon":"radio","href":"/agents/channels"},{"title":"Monitor tab","icon":"chart-line","href":"/agents/monitor"},{"title":"Advanced tab","icon":"sliders","href":"/agents/advanced"},{"title":"Save \u0026 Release","icon":"rocket","href":"/agents/releases"},{"title":"MCPs (Model Context Protocol)","icon":"server","href":"/agents/mcps"}]},{"group":"Tools","icon":"toolbox","pages":[{"title":"Tools","icon":"wrench","href":"/tools/overview"},{"title":"Skills","icon":"graduation-cap","href":"/tools/skills"},{"group":"MCPs","icon":"server","pages":[{"title":"Connections","icon":"plug","href":"/tools/connections"},{"title":"Connect Workday with an Integration System User","sidebarTitle":"Workday service account","icon":"key","href":"/tools/workday-service-account"},{"title":"Tool Sharing and Identity","icon":"fingerprint","href":"/tools/sharing-and-identity"},{"title":"Embedded Services","icon":"puzzle-piece","href":"/tools/embedded-services"},{"title":"Custom MCP Servers","icon":"server","href":"/tools/custom-mcp-servers"}]},{"group":"Resources","icon":"database","pages":[{"title":"Database","icon":"database","href":"/resources/database"},{"title":"File Store","icon":"folder-open","href":"/resources/file-store"},{"title":"Knowledge Base","icon":"brain","href":"/resources/knowledge-base"},{"title":"Vault","icon":"shield","href":"/resources/vault"}]},{"group":"Browser","icon":"window-maximize","pages":[{"title":"Browser Login","icon":"browser","href":"/tools/browser-login"}]}]},{"group":"Organization","icon":"building","pages":[{"title":"Organization, Users \u0026 Roles","icon":"play","href":"/organization/overview"},{"title":"IP Allow List","icon":"shield-check","href":"/organization/ip-allow-list"},{"title":"Sharing","icon":"share","href":"/organization/sharing"},{"title":"Bring Your Own Model (BYOM)","icon":"microchip-ai","href":"/organization/byom"},{"group":"Settings","icon":"gear","pages":[{"title":"Personal Settings","icon":"user-gear","href":"/organization/settings-personal"},{"title":"Organization Settings","icon":"building-shield","href":"/organization/settings-organization"},{"title":"Customization Settings","icon":"palette","href":"/organization/settings-customization"}]}]},{"group":"Channels","icon":"comments","pages":[{"title":"Slack","icon":"slack","href":"/channels/slack"},{"title":"Microsoft Teams","icon":"microsoft","href":"/channels/microsoft-teams"}]},{"group":"Orchestration","icon":"sitemap","pages":[{"title":"Orchestration","icon":"network-wired","href":"/orchestration/overview"},{"title":"Workflow Monitor","icon":"chart-line","href":"/orchestration/monitor"},{"title":"Agent Monitor","icon":"robot","href":"/orchestration/agent-monitor"},{"title":"Guardian Agent","icon":"shield-check","href":"/orchestration/guardian-agent"},{"title":"Queue Service","icon":"list-check","href":"/orchestration/queue"},{"title":"Batch Service","icon":"layer-group","href":"/orchestration/batching"},{"title":"Human-in-the-Loop Workflows","icon":"user-check","href":"/orchestration/human-in-the-loop"}]},{"group":"Billing","icon":"credit-card","pages":[{"title":"Limits","icon":"gauge-max","href":"/billing/limits"},{"title":"Credits","icon":"coins","href":"/billing/credits"}]},{"group":"Terms","icon":"file-contract","pages":[{"title":"Pinkfish Master Services Agreement","sidebarTitle":"AppFoundry","href":"/support/appfoundry-terms"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/platform/overview"}]}]},"basePath":"","title":"Saved Actions - Pinkfish - AI Agents \u0026 Workflows for Getting Work Done","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BA_UUN68.js","lightbox-handle-r17bVUz3.js"]}