Open Copyable Blueprints

Open Automation Templates & Starter Blueprints

Production-inspired starters with zero email gating: copy directly, run on your own stack, or reach out when you want a hardened production rollout.

N8N Intermediate • Prereq: Self-hosted n8n + Telegram Bot Token
n8n-telegram-lead-router.json

n8n Workflow Skeleton: Telegram Lead Intake + Router + Error Branch

Captures incoming Telegram messages, builds an idempotency key, forwards leads to your CRM webhook, and triggers an alert on failure.

n8n-telegram-lead-router.json json
{
  "name": "amirparsa-telegram-lead-router",
  "nodes": [
    {
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "parameters": { "updates": ["message"] }
    },
    {
      "name": "Normalize & Idempotency Key",
      "type": "n8n-nodes-base.code",
      "parameters": {
        "jsCode": "const msg = $input.first().json.message || {};\nreturn [{ json: { idempotency_key: `tg_${msg.chat?.id}_${msg.message_id}`, user: msg.from?.username || msg.from?.first_name || 'unknown', text: (msg.text || '').trim(), received_at: new Date().toISOString() } }];"
      }
    },
    {
      "name": "Upsert to CRM Webhook",
      "type": "n8n-nodes-base.httpRequest",
      "parameters": {
        "method": "POST",
        "url": "={{$env.CRM_WEBHOOK_URL}}",
        "sendBody": true,
        "continueOnFail": true
      }
    },
    {
      "name": "Check Error Branch",
      "type": "n8n-nodes-base.if",
      "parameters": {
        "conditions": { "boolean": [{ "value1": "={{!!$json.error}}", "value2": true }] }
      }
    }
  ]
}
TELEGRAM/IG Beginner • Prereq: Instagram Business Account + Rate Limiter
ig-comment-trigger-policy.yaml

Safe Instagram Comment-to-DM Trigger & Rate-Limit Policy

Policy template defining allowed trigger words, hourly rate caps, per-user deduplication cooldowns, and clean Telegram handoff.

ig-comment-trigger-policy.yaml yaml
policy_version: "1.0"
channel: instagram_graph_api
trigger_rules:
  - post_scope: "all_active_reels"
    keywords_fa: ["دمو", "تعرفه", "راهنما", "شروع"]
    keywords_en: ["demo", "pricing", "guide"]
    match_mode: "contains_normalized"
rate_limits:
  max_dms_per_hour: 45
  min_delay_seconds: 8
  max_delay_seconds: 22
  per_user_cooldown_hours: 24
reply_template:
  public_comment_variants:
    - "جزئیات و لینک دمو را در دایرکت فرستادم."
    - "اطلاعات کامل را همین الان دایرکت کردم."
  dm_message: |
    سلام! لینک مشاهده دمو و جزئیات دامنه پروژه:
    https://t.me/amirparsa_ai_bot?start=ig_reel_trigger
    اگر سوال مشخصی دارید همینجا بنویسید.
safety:
  block_cold_outreach: true
  escalate_on_negative_sentiment: true
PROMPTS & RAG Beginner • Drop-in for Persian & English RAG pipelines
rag-guardrail-system-prompt.txt

Production RAG System Prompt with Citation & Human Escalation Rules

Prevents hallucinated pricing or policies by enforcing strict context grounding, source citation, and explicit human handoff.

rag-guardrail-system-prompt.txt text
You are a grounded support assistant for [BRAND_NAME].

STRICT RULES:
1. Answer ONLY using facts explicitly present in the <context> blocks below.
2. NEVER invent prices, discounts, delivery dates, medical advice, or legal guarantees.
3. Always cite the source document ID at the end of factual claims, e.g. [source: doc_pricing_v2].
4. If the answer is missing or ambiguous in <context>, reply honestly:
   - FA: «این مورد در مستندات فعلی ثبت نشده است. برای پاسخ دقیق، پیام شما را به کارشناس ارجاع می‌دهم.»
   - EN: "That detail is not covered in our current documentation. I am routing this to a human specialist."
5. Keep answers concise (2–4 sentences), calm, and in the user's language (natural Persian or English).

<context>
{{RETRIEVED_CHUNKS}}
</context>
GEO/SEO Beginner • Deploy at /llms.txt on any SSR website
llms.txt

Clean /llms.txt Starter Template for Service & SaaS Websites

Concise machine- and human-readable index helping AI answer engines discover your core services, comparisons, and guides.

llms.txt markdown
# Brand Name (https://example.com)

> Concise 1-2 sentence factual positioning: what you build, who you serve, and how your architecture works.

## Core Services
- [Service One](https://example.com/services#service-one): Scope, deliverables, and timeline.
- [Service Two](https://example.com/services#service-two): Scope, deliverables, and timeline.

## Comparisons & Guides
- [Option A vs Option B](https://example.com/compare/a-vs-b): Objective technical comparison.
- [Implementation Blueprint](https://example.com/blog/blueprint): Step-by-step architecture guide.

## Policies & Contact
- [Privacy Policy](https://example.com/privacy)
- Contact: [email protected]

Need a production-hardened version wired to your stack?

We deploy these patterns with guardrails, DLQ monitoring, and full tests on your VPS.

Direct engineer reply within 1 business day. No sales spam.