Saltar al contenido
Skillpedia
APIs y servidores (backend)48 mil · #5353

odoo-shopify-integration

Qué hace

Esta herramienta conecta tu tienda en línea (Shopify) con tu sistema de gestión (Odoo). Sincroniza automáticamente productos, inventario, pedidos y clientes entre los dos sistemas.

Cuándo usarla

  • ✓Cuando vendes productos en Shopify y gestionas el inventario en Odoo.
  • ✓Para crear automáticamente pedidos de venta en Odoo cuando un cliente compra en Shopify.
  • ✓Para mantener actualizados en Odoo los niveles de stock con lo que está disponible en Shopify.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-shopify-integration/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-shopify-integration/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Conecta mi tienda de Shopify con Odoo para sincronizar productos e inventario.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Tú describes cómo quieres que fluyan los datos entre Shopify y Odoo. La herramienta te ayuda a configurar la conexión y te da ejemplos de código para que los sistemas se comuniquen.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Odoo ↔ Shopify Integration

Overview

This skill guides you through integrating Odoo with Shopify — syncing your product catalog, real-time inventory levels, incoming orders, and customer data. It covers both using the official Odoo Shopify connector (Enterprise) and building a custom integration via Shopify REST + Odoo XMLRPC APIs.

When to Use This Skill

  • Selling on Shopify while managing inventory in Odoo.
  • Automatically creating Odoo sales orders from Shopify purchases.
  • Keeping Odoo stock levels in sync with Shopify product availability.
  • Mapping Shopify product variants to Odoo product templates.

How It Works

  1. Activate: Mention @odoo-shopify-integration and describe your sync scenario.
  2. Design: Receive the data flow architecture and field mapping.
  3. Build: Get code snippets for the Shopify webhook receiver and Odoo API caller.

Data Flow Architecture

SHOPIFY                          ODOO
--------                         ----
Product Catalog <──────sync──────  Product Templates + Variants
Inventory Level <──────sync──────  Stock Quants (real-time)
New Order       ───────push──────> Sale Order (auto-confirmed)
Customer        ───────push──────> res.partner (created if new)
Fulfillment     <──────push──────  Delivery Order validated

Examples

Example 1: Push an Odoo Sale Order for a Shopify Order (Python)

import xmlrpc.client, requests

# Odoo connection
odoo_url = "https://myodoo.example.com"
db, uid, pwd = "my_db", 2, "api_key"
models = xmlrpc.client.ServerProxy(f"{odoo_url}/xmlrpc/2/object")

def create_odoo_order_from_shopify(shopify_order):
    # Find or create customer
    partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search_read',
        [[['email', '=', shopify_order['customer']['email']]]],
        {'fields': ['id'], 'limit': 1}
    )
    partner_id = partner[0]['id'] if partner else models.execute_kw(
        db, uid, pwd, 'res.partner', 'create', [{
            'name': shopify_order['customer']['first_name'] + ' ' + shopify_order['customer']['last_name'],
            'email': shopify_order['customer']['email'],
        }]
    )

    # Create Sale Order
    order_id = models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{
        'partner_id': partner_id,
        'client_order_ref': f"Shopify #{shopify_order['order_number']}",
        'order_line': [(0, 0, {
            'product_id': get_odoo_product_id(line['sku']),
            'product_uom_qty': line['quantity'],
            'price_unit': float(line['price']),
        }) for line in shopify_order['line_items']],
    }])
    return order_id

def get_odoo_product_id(sku):
    result = models.execute_kw(db, uid, pwd, 'product.product', 'search_read',
        [[['default_code', '=', sku]]], {'fields': ['id'], 'limit': 1})
    return result[0]['id'] if result else False

Example 2: Shopify Webhook for Real-Time Orders

from flask import Flask, request
app = Flask(__name__)

@app.route('/webhook/shopify/orders', methods=['POST'])
def shopify_order_webhook():
    shopify_order = request.json
    order_id = create_odoo_order_from_shopify(shopify_order)
    return {"odoo_order_id": order_id}, 200

Best Practices

  • ✅ Do: Use Shopify's webhook system for real-time order sync instead of polling.
  • ✅ Do: Match products using SKU / Internal Reference as the unique key between both systems.
  • ✅ Do: Validate Shopify webhook HMAC signatures before processing any payload.
  • ❌ Don't: Sync inventory from both systems simultaneously without a "master system" — pick one as the source of truth.
  • ❌ Don't: Use Shopify product IDs as the key — use SKUs which are stable across platforms.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Preguntas frecuentes

¿Qué significa 'sincronizar'?

Sincronizar significa mantener la misma información en dos sistemas diferentes. Por ejemplo, si vendes un artículo en Shopify, el inventario en Odoo se actualiza automáticamente.

¿Qué son los 'webhooks'?

Los webhooks son como notificaciones automáticas. Cuando ocurre algo en Shopify (como un pedido nuevo), envía un aviso a Odoo.

¿Qué es una API?

Una API es un conjunto de reglas que permite que dos programas informáticos se comuniquen entre sí. Es como un traductor que ayuda a que sistemas distintos intercambien información.

Detalles

Descripción original del autor

Connect Odoo with Shopify: sync products, inventory, orders, and customers using the Shopify API and Odoo's external API or connector modules.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#5353
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas