AgentHub

Reprice tour packages dynamically with Claude, Google Sheets and Slack

Quick overview

Live
Open / InstallLast updated July 27, 2026

Description

Quick overview This workflow runs on a schedule to fetch live tour-package demand signals and competitor prices via HTTP APIs, calculates repricing recommendations, uses Anthropic Claude to finalize capped and rounded price changes, then logs each update to Google Sheets and notifies a Slack channel. How it works Runs on a scheduled trigger to poll your booking/demand API and your competitor pricing API in parallel. Merges both API responses and calculates per-package demand score, seasonality/urgency, competitor positioning, and a recommended price adjustment. Splits the results into one item per package and filters to only those needing a repricing change of 3% or more. Sends each candidate package to Anthropic Claude (claude-sonnet-4) to apply rounding, enforce a 15% per-cycle cap, and return a final price with confidence and reasoning. Parses the AI’s JSON output (falling back to the calculated recommendation if parsing fails) and formats an audit row with pricing and scoring details. Appends the repricing row to a Google Sheets PriceUpdates tab via the Google Sheets API and posts a summary alert to Slack. Setup Provide API access for your booking/demand endpoint and competitor pricing endpoint, and replace the placeholder URLs and Bearer tokens in both HTTP requests. Add an Anthropic API credential and ensure the model setting uses your preferred Claude model (default: claude-sonnet-4-20250514). Connect Google Sheets via OAuth2, replace YOUR_SHEET_ID, and ensure a PriceUpdates sheet exists with the expected columns. Add Slack credentials and set YOUR_SLACK_CHANNEL_ID to the channel that should receive repricing alerts. Adjust the schedule interval and, if needed, tune the 3% repricing threshold and scoring logic in the JavaScript calculation step. An n8n automation workflow template by Oneclick AI Squad.

Author

Oneclick AI Squad

Platform

web

Pricing model

free

Categories

Automation
AI

Tags

n8n
workflow
http-request
slack
code
ai-agent
anthropic-chat-model

Capabilities

  • 5 nodes
  • 1 views