hi need help
Bug Report: Platform-level API response caching returning stale order data Hi team, following up on a support ticket already filed with Rohit. Sharing full context here for visibility. The problem: Our order tracking function returns an old order (#2221, July 2024, Fulfilled) instead of the customer's most recent order (#5586, April 2026, PAID/UNFULFILLED) when queried via the chatbot widget. The Shopify API itself is returning the correct data — the issue is inside YourGPT's function execution layer. Evidence this is platform-level caching, not our config:
Clicking "Test API" inside the YourGPT function editor → returns correct order #5586 ✅ Direct curl to Shopify from terminal → returns correct order #5586 ✅ Chatbot widget (v1 bot) → returns wrong order #2221 ❌ Created a brand new v2 bot from scratch with a new bot ID (b0d88507-463c-4517-96ee-6f6d59b988e0) and new function ID (1655) → still returns wrong order #2221 ❌
The fact that a completely fresh bot with no history returns the same stale result confirms the cache is operating at the platform level, not tied to chat history or our configuration.
Bot details:
v1 bot ID: db5d1e3e-cc49-4837-8c78-968ce0d137d0 v2 bot ID: b0d88507-463c-4517-96ee-6f6d59b988e0 (fresh, built from scratch, same issue) Function name: shopify_api_track_shopify_order Test email: [email protected]
What we need:
Confirmation of whether YourGPT caches API function responses, and if so, what the cache key and TTL are A way to disable or bypass caching for this specific function (or globally) If caching can't be disabled, guidance on a supported cache-busting technique (e.g., does {{date format='x'}} work inside function body parameters?)
Happy to provide any additional details. This is blocking a live deployment. Thanks!
my account is ai119 email: [email protected]
hello @Evan I think your API configuration for accessing dynamic variables is incorrect. You’re currently using {{email}}, which won’t work.
It should be written as {{TOOL_PARAMS.email}}.
Please refer to these docs. https://docs.yourgpt.ai/chatbot/ai-agent-management/functions#accessing-parameters-in-code