Skip to content

Tool integration idea: BuyWhere Singapore product catalog for PromptFlow e-commerce flows #4145

@BuyWhere

Description

@BuyWhere

Integration Suggestion: BuyWhere Real-time Singapore Product Data

Hi PromptFlow team,

Wanted to suggest an API integration that would enable practical e-commerce flows in PromptFlow: BuyWhere.

BuyWhere provides real-time Singapore product pricing from Harvey Norman, Shopee, and Lazada via a REST API.

PromptFlow Tool Node Config

name: SearchSingaporeProducts
type: python
source:
  type: code
  path: buywhere_tool.py
inputs:
  query:
    type: string
# buywhere_tool.py
import requests
from promptflow import tool

@tool
def search_singapore_products(query: str) -> dict:
    """Search real-time product prices in Singapore"""
    response = requests.get("https://api.buywhere.ai/search", params={"q": query})
    return response.json()

Example Flow

  1. User asks: "Find me the cheapest Sony TV under SGD 2,000"
  2. LLM generates search query
  3. BuyWhere tool returns live Singapore prices
  4. LLM synthesizes a recommendation with real data

Docs: https://buywhere.ai/developers/


Disclosure: I work on the BuyWhere team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-recent-activityThere has been no recent activity on this issue/pull request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions