221 lines
12 KiB
HTML
221 lines
12 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="robots" content="index, follow" />
|
|
<link rel="canonical" href="https://derez.ai/blog/posts/speed-run-odoo-community-agent.html" />
|
|
<title>Speed Run: Create an Odoo Community Agent from Zero — derez.ai Blog</title>
|
|
<meta name="description" content="From signup to an Odoo-connected AI agent in under 10 Minutes. Free trial included." />
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:url" content="https://derez.ai/blog/posts/speed-run-odoo-community-agent.html" />
|
|
<meta property="og:title" content="Speed Run: Create an Odoo Community Agent from Zero" />
|
|
<meta property="og:description" content="From signup to an Odoo-connected AI agent in under 10 Minutes. Free trial included." />
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="Speed Run: Create an Odoo Community Agent from Zero" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap" rel="stylesheet" />
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
background: #08080c;
|
|
color: #e8e8f0;
|
|
font-family: 'Inter', sans-serif;
|
|
line-height: 1.7;
|
|
padding: 40px 20px;
|
|
}
|
|
.container { max-width: 720px; margin: 0 auto; }
|
|
a { color: #00f5ff; text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
.back { margin-bottom: 32px; display: inline-block; font-size: 0.9rem; color: #888; }
|
|
.back:hover { color: #00f5ff; }
|
|
h1 { font-size: 1.9rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
|
|
.meta { font-size: 0.85rem; color: #888; margin-bottom: 40px; display: flex; gap: 12px; align-items: center; }
|
|
.area-tag {
|
|
display: inline-block;
|
|
background: #f472b6;
|
|
color: #000;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
padding: 2px 10px;
|
|
border-radius: 20px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.chip-tag {
|
|
display: inline-block;
|
|
background: rgba(0,245,255,0.1);
|
|
color: #00f5ff;
|
|
border: 1px solid rgba(0,245,255,0.3);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
padding: 2px 10px;
|
|
border-radius: 20px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.chip-video {
|
|
background: rgba(255,0,0,0.12);
|
|
color: #ff4444;
|
|
border: 1px solid rgba(255,0,0,0.35);
|
|
}
|
|
h2 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; color: #f0f0ff; }
|
|
h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; color: #e0e0f0; }
|
|
p { margin-bottom: 16px; color: #c8c8d8; }
|
|
ul, ol { margin: 0 0 16px 24px; color: #c8c8d8; }
|
|
li { margin-bottom: 6px; }
|
|
code { background: #0e0e14; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; color: #00f5ff; }
|
|
strong { color: #f0f0ff; }
|
|
.prereq-group { margin-bottom: 16px; }
|
|
.prereq-group > .group-label { font-weight: 600; color: #f472b6; margin-bottom: 4px; }
|
|
.prompt-box {
|
|
background: #0e0e14;
|
|
border: 1px solid #1a1a24;
|
|
border-radius: 12px;
|
|
padding: 20px 24px;
|
|
margin: 16px 0 24px;
|
|
font-style: italic;
|
|
color: #c8c8d8;
|
|
}
|
|
.prompt-box code { background: #001a18; }
|
|
.pro-tip {
|
|
background: rgba(0,245,255,0.06);
|
|
border-left: 3px solid #00f5ff;
|
|
border-radius: 8px;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
font-size: 0.92rem;
|
|
color: #d0d0e0;
|
|
}
|
|
.pro-tip strong { color: #00f5ff; }
|
|
@media (max-width: 600px) {
|
|
body { padding: 24px 16px; }
|
|
h1 { font-size: 1.5rem; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<a class="back" href="https://derez.ai/#blog">← Back to Blog</a>
|
|
<h1>Speed Run: Create an Odoo Community Agent from Zero</h1>
|
|
<div class="meta">
|
|
<span>June 10, 2026</span>
|
|
<span class="area-tag">speed-run</span>
|
|
<span class="chip-tag">hermes</span>
|
|
<span class="chip-tag chip-video">video</span>
|
|
</div>
|
|
|
|
<div style="position:relative;width:100%;padding-bottom:56.25%;margin-bottom:24px;border-radius:12px;overflow:hidden;background:#000">
|
|
<iframe src="https://www.youtube.com/embed/Gx-XiCJAt8g" title="I Connected AI to Odoo in 10 Minutes — Here's How" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%"></iframe>
|
|
</div>
|
|
|
|
<h2>Introduction</h2>
|
|
<p>
|
|
This speed run walks you through creating an AI agent that connects directly to your Odoo Community database. No coding, no servers to provision — just pick your plan, paste your credentials, and your agent starts working with your data immediately.
|
|
</p>
|
|
<p>
|
|
To follow along, grab a <strong>free trial</strong> of Odoo Community at <a href="https://ODOO4projects.com?utm_source=derez&utm_campaign=youtube" target="_blank" rel="noopener">ODOO4projects.com</a> and generate an API key from your profile settings. It takes about 10 Minutes and gives you everything you need for this walkthrough.
|
|
</p>
|
|
<div class="pro-tip">
|
|
<strong>Not using derez.ai?</strong> You can use the Odoo prompt directly with any Hermes agent. Find the full standalone prompt with API reference at the <a href="#odoo-reference">bottom of this page</a> — just copy, paste, and fill in your credentials.
|
|
</div>
|
|
|
|
<h2>Prerequisites</h2>
|
|
<p>Before you start, make sure you have your Odoo Community instance credentials ready:</p>
|
|
|
|
<div class="prereq-group">
|
|
<div class="group-label">Integration — ODOO Community</div>
|
|
<ul>
|
|
<li><strong>URL</strong> — <code>https://006-003-1d9183bb-8430-41a8-85a3-842b2b4d279d.odoo4projects.com/</code></li>
|
|
<li><strong>Username</strong> — <code>changeme@odoo4projects.com</code></li>
|
|
<li><strong>Password</strong> — <code>changeme</code></li>
|
|
<li><strong>Database</strong> — <code>006-003-1d9183bb-8430-41a8-85a3-842b2b4d279d</code></li>
|
|
<li><strong>API Key</strong> — <code>602e6ea0a0adda65b344a282495da3b05525f63f</code></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h2>Prompt</h2>
|
|
<p>We configured two prompts on the agent's dashboard at <strong>app.derez.ai</strong>. The first connects the agent to your Odoo instance using the integration settings. The second asks for the data you need.</p>
|
|
|
|
<div class="prompt-box">
|
|
<strong>Prompt 1 — ODOO Integration</strong><br /><br />
|
|
Generated by the Derez Dashboard. If you're running your own agent, use the <a href="#odoo-reference">standalone Odoo prompt</a> at the bottom of this page instead.
|
|
</div>
|
|
|
|
<div class="prompt-box" style="margin-top:-8px">
|
|
<strong>Prompt 2 — Get My Leads</strong><br /><br />
|
|
Give me an overview on all leads I have.
|
|
</div>
|
|
|
|
<p>The first prompt authenticates using the credentials you entered in the dashboard integration settings. The second prompt then pulls your full lead pipeline from Odoo.</p>
|
|
|
|
<h2>Wrap Up</h2>
|
|
<p>
|
|
In under 10 Minutes you went from nothing to an AI agent connected to your live Odoo instance. The same pattern works for any Odoo module — inventory, CRM, accounting, manufacturing. Just update the prompt to describe what you need.
|
|
</p>
|
|
|
|
<div style="text-align:center;margin:24px 0">
|
|
<img src="speed-run-odoo-countdown.jpg" alt="derez.ai dashboard showing speed-run timer at 3 minutes 41 seconds — Odoo agent set up in under 10 minutes" style="max-width:100%;border-radius:14px;border:1px solid #1a1a24;box-shadow:0 4px 24px rgba(0,0,0,0.4)" />
|
|
<p style="font-size:0.82rem;color:#888;margin-top:8px">With 3:41 still on the countdown, we can say we made it — a new Hermes Agent connected to Odoo in less than 10 Minutes.</p>
|
|
</div>
|
|
|
|
<div class="pro-tip">
|
|
<strong>Pro tip:</strong> With Odoo Community you do not pay per user, so you can create a separate user for your agent and control the access rights for your agent directly in Odoo.
|
|
</div>
|
|
|
|
<p>
|
|
Use coupon code <strong>BLOG499</strong> at checkout to get your first month free — zero risk, full access.
|
|
</p>
|
|
<h2 id="odoo-reference">Standalone Odoo Prompt for Hermes Agent</h2>
|
|
<p>Copy this entire prompt into any Hermes agent (derez.ai or self-hosted). Replace the credentials with your own Odoo instance details and the agent will connect directly — no dashboard integration needed.</p>
|
|
|
|
<div class="prompt-box" style="font-style:normal">
|
|
<strong style="color:#00f5ff">## Integrations</strong><br /><br />
|
|
|
|
<strong>### ODOO Community</strong><br />
|
|
You are an Odoo automation agent. Your only tools are curl and jq. Never write Python scripts, never develop modules or addons, never use xmlrpc libraries. Every task must be solved with shell one-liners or short shell scripts using curl + jq only.<br /><br />
|
|
|
|
<strong>## Credentials</strong><br />
|
|
<code>SITE_URL=https://your-instance.odoo4projects.com/</code><br />
|
|
<code>USER=your-username</code><br />
|
|
<code>API_KEY=your-api-key</code><br />
|
|
<code>DB=your-database-name</code><br /><br />
|
|
|
|
<strong>## API call pattern</strong><br />
|
|
Every call is a POST to <code>URL/json/2/<model>/<method></code><br />
|
|
Required headers on every request:<br />
|
|
<code>Authorization: Bearer API_KEY</code><br />
|
|
<code>X-Openerp-Database: DB</code><br />
|
|
<code>Content-Type: application/json</code><br /><br />
|
|
|
|
Body: a FLAT JSON object of the method arguments (NOT JSON-RPC — no "params" wrapper).<br />
|
|
Response: the raw return value directly (no "result" wrapper).<br /><br />
|
|
|
|
<strong>## Always request only the fields you need</strong><br />
|
|
Never call search_read without a "fields" list. Fetching all fields is wasteful and slow. Decide upfront which fields the task actually requires, then pass exactly those.<br /><br />
|
|
|
|
<code>curl -s -X POST 'URL/json/2/sale.order/search_read' \<br />
|
|
-H 'Authorization: Bearer API_KEY' \<br />
|
|
-H 'X-Openerp-Database: DB' \<br />
|
|
-H 'Content-Type: application/json' \<br />
|
|
-d '{"domain":[["state","=","sale"]],"fields":["name","partner_id","amount_total"],"limit":20}' \<br />
|
|
| jq '.[] | {order: .name, customer: .partner_id[1], total: .amount_total}'</code><br /><br />
|
|
|
|
<strong>### First-run: build your API digest</strong><br />
|
|
If ~/odoo_digest.md does NOT exist yet, run this once and write the output to the file:<br /><br />
|
|
|
|
<code>curl -s 'URL/json/2/doc' \<br />
|
|
-H 'Authorization: Bearer API_KEY' \<br />
|
|
-H 'X-Openerp-Database: DB' \<br />
|
|
| jq '[to_entries[] | {model: .key, label: .value.string}]' > /tmp/odoo_models.json</code>
|
|
</div>
|
|
|
|
<p style="font-size:0.9rem;color:#888">Replace <code>URL</code>, <code>USER</code>, <code>API_KEY</code>, and <code>DB</code> with your Odoo instance credentials. This prompt works with any Hermes agent — no dashboard required.</p>
|
|
|
|
<p style="margin-top:48px;padding-top:24px;border-top:1px solid #1a1a24;font-size:0.85rem;color:#666;">
|
|
<a href="https://derez.ai" style="color:#00f5ff">derez.ai</a> — Deploy your AI agent in 10 Minutes.
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html> |