Quick overview
This workflow uses webhooks, Jina AI website scraping, Anthropic-powered agents, and the Google Gemini API to generate consulting proposal options from a company URL, then drafts a structured 11-section proposal and returns it to a frontend as JSON and HTML.
How it works
- Receives a POST webhook request with company details, a company URL, and either an “AI suggest” or “own solution” preference.
- Fetches and truncates the company website content via Jina AI, falling back to a secondary search result or a minimal text brief when retrieval fails.
- Uses Anthropic (LangChain) to extract structured company research and then generate structured industry context tailored to the decision maker.
- Looks up an in-workflow industry knowledge base to inject relevant terminology, KPIs, regulations, and common solution patterns into downstream prompts.
- Generates either three solution options with Anthropic or refines the user’s own solution via the Google Gemini generateContent API, then returns the solution options to the frontend via a webhook response.
- Receives a second POST webhook request with the user-selected solution, uses Anthropic to map pain points to solution components, and drafts an 11-section proposal.
- Formats the proposal into branded HTML and returns the final proposal payload to the frontend via a webhook response.
Setup
- Add an Anthropic credential for the Research Agent, Industry Agent, Pain Point Agent, and Proposal Drafter agent.
- Add an HTTP Query Auth credential with a Google Gemini API key for the solution-refinement request to the Generative Language API.
- Ensure your input system can POST JSON to the two webhook endpoints (tigerpitch-generate and tigerpitch-solution) and consumes the JSON/HTML responses.
- Provide required request fields such as company_url, company_name, industry, decision_maker, problem_statement, budget_range, timeline, delivery_type, technologies, and solution_preference (and own_solution when applicable).