LinkedIn to Odoo Contact Updater
This skill automatically searches for a contact's LinkedIn profile using their name and company name (if available) in Odoo, and updates their x_linkedin_url field.
Setup
The skill uses Odoo credentials via environment variables, same as the odoo-manager skill:
ODOO_URLODOO_DBODOO_USERNAMEODOO_PASSWORDorODOO_API_KEY
How to use
Run the Python script located in scripts/update_linkedin.py with the Odoo Contact ID as the only argument.
python3 scripts/update_linkedin.py <odoo_contact_id>
Process Overview:
- When asked to find a LinkedIn URL for a specific contact (by name or ID), use the
odoo-managerskill or script to find the contact's ID. - Run
scripts/update_linkedin.py <ID>. - The script will fetch the contact's name and company, run a web search for their LinkedIn profile (
site:linkedin.com/in <Name> <Company>), and write the URL back tores_partner.x_linkedin_url.
Notes
- The script uses the
html.duckduckgo.comsearch to find the LinkedIn profile natively in Python. - It requires no additional API keys for the search.
- It targets the specific custom field
x_linkedin_urlprovided by the user.