搜索

PythonReactSEOPDF
OpenClaw

Add Tiffin Order Roty Input

name: add tiffin order roty input description: "POST only: Parse 'Roty input' messages and create Roty orders via HTTPS POST no Playwright/UI automation ."

horngtan0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install horngtan/add-tiffin-order-roty-input

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

name: add-tiffin-order-roty-input description: "POST-only: Parse 'Roty input' messages and create Roty orders via HTTPS POST (no Playwright/UI automation)."

Add Tiffin Order - Roty Input (POST-only)

Trigger

Run when an inbound message contains the exact phrase "Roty input" (case-insensitive).

Important

  • DO NOT use Playwright, browser automation, screenshots, or vision clicks.
  • This skill creates orders only by sending a JSON payload via HTTPS POST to: https://newdailyorderandcartcreation-818352713629.australia-southeast1.run.app

Execution (MANDATORY)

When triggered, you MUST call the dispatcher script and use its output. Do NOT manually construct curl or JSON payloads.

Run: python3 /data/.openclaw/workspace/skills/add-tiffin-order-roty-input/scripts/handle_message.py <sender_id> ""

Rules:

  • Always POST using the dispatcher (unless it returns Missing address/dates/product).
  • Never hardcode perProductCost (never "[15]").
  • Never use hardCodedPrice for perProductCost.
  • perProductCost MUST come from pricing_engine.py via handle_message.py.

Authorization (Telegram)

  • Only allow Telegram users whose from.id is in: data/allowed_users.json under admins or vendors.
  • If unauthorized: reply "Not authorized."

Behavior

  1. Parse messy input into:
    • customerName
    • userAddress
    • deliveryDates (must resolve at least 1 date; otherwise ask a follow-up)
    • product selection + modifiers
    • specialRequests
  2. Build payload in the exact API shape (see build_payload.py).
  3. Send POST immediately (no "Dry-run vs Live" prompt), unless:
    • address missing, OR
    • no dates resolved, OR
    • product not matched In those cases, ask only for the missing piece.
  4. On success: confirm with cartNo.

Scripts

  • Dispatcher: scripts/handle_message.py
  • Parser: scripts/parse_roty_input.py
  • Matcher: scripts/match_product_and_modifiers.py
  • Pricing: scripts/pricing_engine.py
  • Payload: `scripts/...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/horngtan/add-tiffin-order-roty-input
Version
—
Commit
9a42428e91587142261552256c025b76193e3759
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Roty Tiffin - add-tiffin-order-roty-input

This skill automates placing Roty tiffin orders using the pricing_engine and build_payload scripts. It is intended for use with OpenClaw's skills system.

Contents:

  • scripts/handle_message.py — skill dispatcher
  • scripts/pricing_engine.py — pricing logic
  • scripts/build_payload.py — build order payload
  • scripts/post_order.py — POSTs to order API + follow-ups
  • data/products_roty.json — vendor/product list and prices

Please keep secrets and API keys out of this package; use environment variables instead.

来源内容

SKILL.md
name: add-tiffin-order-roty-input
description: "POST-only: Parse 'Roty input' messages and create Roty orders via HTTPS POST (no Playwright/UI automation)."

# Add Tiffin Order - Roty Input (POST-only)

## Trigger
Run when an inbound message contains the exact phrase **"Roty input"** (case-insensitive).

## Important
- **DO NOT use Playwright, browser automation, screenshots, or vision clicks.**
- This skill creates orders **only** by sending a JSON payload via **HTTPS POST** to:
`https://newdailyorderandcartcreation-818352713629.australia-southeast1.run.app`

## Execution (MANDATORY)
When triggered, you MUST call the dispatcher script and use its output.
Do NOT manually construct curl or JSON payloads.

Run:
python3 /data/.openclaw/workspace/skills/add-tiffin-order-roty-input/scripts/handle_message.py <sender_id> "<full inbound message>"

Rules:
- Always POST using the dispatcher (unless it returns Missing address/dates/product).
- Never hardcode perProductCost (never "[15]").
- Never use hardCodedPrice for perProductCost.
- perProductCost MUST come from pricing_engine.py via handle_message.py.

## Authorization (Telegram)
- Only allow Telegram users whose `from.id` is in:
`data/allowed_users.json` under `admins` or `vendors`.
- If unauthorized: reply "Not authorized."

## Behavior
1. Parse messy input into:
   - customerName
   - userAddress
   - deliveryDates (must resolve at least 1 date; otherwise ask a follow-up)
   - product selection + modifiers
   - specialRequests
2. Build payload in the exact API shape (see build_payload.py).
3. **Send POST immediately** (no "Dry-run vs Live" prompt), unless:
   - address missing, OR
   - no dates resolved, OR
   - product not matched
   In those cases, ask only for the missing piece.
4. On success: confirm with cartNo.

## Scripts
- Dispatcher: `scripts/handle_message.py`
- Parser: `scripts/parse_roty_input.py`
- Matcher: `scripts/match_product_and_modifiers.py`
- Pricing: `scripts/pricing_engine.py`
- Payload: `scripts/...
README
Roty Tiffin - add-tiffin-order-roty-input

This skill automates placing Roty tiffin orders using the pricing_engine and build_payload scripts. It is intended for use with OpenClaw's skills system. 

Contents:
- scripts/handle_message.py — skill dispatcher
- scripts/pricing_engine.py — pricing logic
- scripts/build_payload.py — build order payload
- scripts/post_order.py — POSTs to order API + follow-ups
- data/products_roty.json — vendor/product list and prices

Please keep secrets and API keys out of this package; use environment variables instead.

相关技能

OpenClaw

openbotx

openbotx

An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler,...

OpenClaw

zsxq-digest

sealiu1997

OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.

OpenClaw

browser-use-skill

abczsl520

🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)