ALL SKILLS
SCHEDULED1 CREDIT / RUN

Morning weather brief

A short weather brief for your city every morning. Edit the city in the URL (default: Beijing).

Use this skillFREE KEY INCLUDED · 100 RENDERS / MONTH

The workflow

This skill is a 3-step workflow. Everything below is the full definition — nothing hidden. Use it from the Dashboard (no code), the REST API, or an AI agent via MCP.

workflow.json
{
  "name": "Morning weather brief",
  "trigger": {
    "type": "cron",
    "everyMinutes": 720
  },
  "steps": [
    {
      "action": "fetch",
      "url": "https://wttr.in/Beijing?format=j1"
    },
    {
      "action": "ai",
      "prompt": "Write a short morning weather brief from this data: temperature range, conditions, and one practical advice line. Plain text.",
      "input": "{{1.body}}"
    },
    {
      "action": "email",
      "to": "you@example.com",
      "subject": "Morning weather brief",
      "body": "{{3.text}}"
    }
  ]
}

Three ways to run it

1No code — Dashboard

Hit “Use this skill” — the builder opens with every step prefilled. Edit the placeholder URLs, press run. Done.

2API — one request

curl
curl -X POST https://api.ottersnap.com/v1/workflows \
  -H "Authorization: Bearer otter_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Morning weather brief","trigger":{"type":"cron","everyMinutes":720},"steps":[{"action":"fetch","url":"https://wttr.in/Beijing?format=j1"},{"action":"ai","prompt":"Write a short morning weather brief from this data: temperature range, conditions, and one practical advice line. Plain text.","input":"{{1.body}}"},{"action":"email","to":"you@example.com","subject":"Morning weather brief","body":"{{3.text}}"}]}'

3AI agent — via MCP

Glint ships an official MCP server. Paste this prompt into Claude, Cursor or Codex and it creates the skill for you:

agent prompt
Using the ottersnap-mcp server (npm: ottersnap-mcp), create a Glint workflow with this exact definition:

{
  "name": "Morning weather brief",
  "trigger": {
    "type": "cron",
    "everyMinutes": 720
  },
  "steps": [
    {
      "action": "fetch",
      "url": "https://wttr.in/Beijing?format=j1"
    },
    {
      "action": "ai",
      "prompt": "Write a short morning weather brief from this data: temperature range, conditions, and one practical advice line. Plain text.",
      "input": "{{1.body}}"
    },
    {
      "action": "email",
      "to": "you@example.com",
      "subject": "Morning weather brief",
      "body": "{{3.text}}"
    }
  ]
}

Then confirm it was created and tell me how to run it once manually.

Step by step

01

fetchSTEP

https://wttr.in/Beijing?format=j1

02

aiAI

Write a short morning weather brief from this data: temperature range, conditions, and one practical advice line. Plain text.

accepts {{1.…}} from the previous step

03

emailSEND

you@example.com · Morning weather brief

accepts {{2.…}} from the previous step

EVERY RUN = 1 CREDIT · FAILED STEPS STOP THE CHAIN · RESULTS FEED FORWARD WITH TEMPLATES