Auto Document Save
Instructions
When you detect that saveable content has been created:
- •
Detect Content Type - Analyze the content for type indicators:
- •
midjourney,--ar,--v→ type: prompt, category: midjourney - •
comfyui,workflow,nodes→ type: workflow, category: comfyui - •
character,backstory,traits→ type: character, category: animation - •
transaction,VAT,category→ type: financial, category: quickbooks - •
elevenlabs,voice,SSML→ type: prompt, category: elevenlabs
- •
- •
Generate Metadata - Create payload with action, content, and metadata (type, category, suggested_name, tags, project)
- •
Call n8n Webhook - POST to
http://localhost:5678/webhook/claude-to-warp - •
Confirm Briefly - Report what n8n saved
DO NOT
- •Write files directly
- •Decide exact file paths
- •Update indexes manually
- •Ask "should I save this?" - detect quality automatically
DO
- •Detect content type accurately
- •Generate good metadata
- •Call the webhook
- •Report the result briefly
Examples
User creates a Midjourney prompt → Detect type=prompt, category=midjourney → POST webhook → "Saved: prompts/midjourney/prompt_name.md"