{"id":19525397,"url":"https://github.com/concaption/zoho-housecall-data-2-ways-sync","last_synced_at":"2026-02-25T18:07:38.162Z","repository":{"id":261846540,"uuid":"885511881","full_name":"concaption/zoho-housecall-data-2-ways-sync","owner":"concaption","description":"An automated integration system that synchronizes data between Zoho CRM and HouseCall Pro, streamlining customer, estimate, and employee management.","archived":false,"fork":false,"pushed_at":"2024-11-08T18:45:05.000Z","size":1121,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T14:08:54.626Z","etag":null,"topics":["data-sync","fastapi","python","zoho","zoho-api","zoho-crm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/concaption.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-08T18:20:01.000Z","updated_at":"2024-12-17T16:20:15.000Z","dependencies_parsed_at":"2024-11-08T19:35:50.890Z","dependency_job_id":"31ad8f74-4129-4170-bd92-457fe0f46f37","html_url":"https://github.com/concaption/zoho-housecall-data-2-ways-sync","commit_stats":null,"previous_names":["concaption/zoho-housecall-data-2-ways-sync"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Fzoho-housecall-data-2-ways-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Fzoho-housecall-data-2-ways-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Fzoho-housecall-data-2-ways-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concaption%2Fzoho-housecall-data-2-ways-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/concaption","download_url":"https://codeload.github.com/concaption/zoho-housecall-data-2-ways-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252892503,"owners_count":21820648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-sync","fastapi","python","zoho","zoho-api","zoho-crm"],"created_at":"2024-11-11T01:04:17.468Z","updated_at":"2025-10-30T12:49:41.341Z","avatar_url":"https://github.com/concaption.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eZoho HouseCall Data Sync\u003c/h1\u003e\n\u003ch4\u003eAn automated integration system that synchronizes data between Zoho CRM and HouseCall Pro, streamlining customer, estimate, and employee management.\u003c/h4\u003e\n\n\u003cimg src=\"docs/vscode.png\" alt=\"Project Banner\"\u003e\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/concaption/zoho-housecall-data-2-ways-sync)\n[![Open Source Love](https://badges.frapsoft.com/os/v3/open-source.png?v=103)](https://github.com/concaption/zoho-housecall-data-2-ways-sync)\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/concaption/zoho-housecall-data-2-ways-sync)\n\u003c/div\u003e\n\n## Features\n\n- Webhook handling for both Zoho CRM and HouseCall Pro events\n- Customer data synchronization\n- Deal/Estimate management\n- Automated lead source tracking\n- Google Sheets integration for data logging\n- OAuth2 authentication for Zoho CRM\n- Comprehensive logging system\n\n## Prerequisites\n\n- Python 3.10+\n- Docker (optional)\n- Zoho CRM account with API access\n- HouseCall Pro account with API access\n- Google Sheets API credentials\n\n## Installation\n\n1. Clone the repository\n2. Set up your virtual environment:\n\n```bash\nmake setup\n```\n\n3. Install dependencies:\n\n```bash\nmake install\n```\n\n4. Copy `.env.example` to `.env` and fill in your credentials:\n\n```env\nPROJECT_NAME=\"Data Sync\"\nPROJECT_VERSION=\"0.1.0\"\nHOUSECALL_API_KEY=\"your_housecall_api_key\"\nZOHO_CLIENT_ID=\"your_zoho_client_id\"\nZOHO_CLIENT_SECRET=\"your_zoho_client_secret\"\nZOHO_AUTH_CODE=\"your_zoho_auth_code\"\nZOHO_REDIRECT_URI=\"your_redirect_uri\"\n```\n\n5. Copy `credentials.json.example` to `credentials.json` and fill in your Google Sheets API credentials\n\n## Running the Application\n\n### Local Development\n\n```bash\nmake run\n```\n\n### Using Docker\n\n```bash\ndocker-compose up\n```\n\n## Testing\n\nRun the test suite:\n\n```bash\nmake test\n```\n\n## Project Structure\n\n- `api/` - API route handlers\n- `utils/` - Utility functions for Zoho, HouseCall Pro, and Google Sheets\n- `schema/` - Pydantic models for data validation\n- `config.py` - Application configuration\n- `main.py` - FastAPI application entry point\n\n## API Endpoints\n\n### Zoho CRM\n\n- `POST /zoho/authenticate` - Authenticate with Zoho CRM\n- `GET /zoho/refresh` - Refresh Zoho access token\n- `POST /zoho/incoming` - Webhook endpoint for Zoho events\n\n### HouseCall Pro\n\n- `POST /housecall/incoming` - Webhook endpoint for HouseCall Pro events\n\n## Development\n\nFormat code:\n```bash\nmake format\n```\n\nLint code:\n```bash\nmake lint\n```\n\nRun all checks:\n```bash\nmake all\n```\n\n\u003cimg src=\"docs/railway.png\" alt=\"Project Banner\"\u003e\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n- FastAPI\n- Zoho CRM API\n- HouseCall Pro API\n- Google Sheets API\n\n\u003c!-- Mermaid js diagrma --\u003e\n\n```mermaid\ngraph TB\n    %% Title\n    title[Integration Architecture] \n    style title fill:none,stroke:none\n    \n    subgraph Zoho CRM\n        Z1[Zoho CRM Events]:::zoho\n        Z2[Contacts]:::zoho\n        Z3[Deals]:::zoho\n        Z4[OAuth2 Auth]:::zoho\n    end\n\n    subgraph HouseCall Pro\n        H1[HouseCall Events]\n        H2[Customers]\n        H3[Estimates]\n        H4[Jobs]\n        H5[Lead Sources]\n    end\n\n    subgraph Integration Layer\n        W1[Webhook Handler]\n        S1[Data Sync Engine]\n        A1[Auth Manager]\n        L1[Logging System]\n    end\n\n    subgraph Storage\n        G1[Google Sheets]\n        T1[Token Storage]\n    end\n\n    %% Event Flow\n    Z1 --\u003e|Webhook| W1\n    H1 --\u003e|Webhook| W1\n    \n    %% Data Sync\n    W1 --\u003e|Process Events| S1\n    S1 --\u003e|Update| Z2\n    S1 --\u003e|Update| Z3\n    S1 --\u003e|Update| H2\n    S1 --\u003e|Update| H3\n    S1 --\u003e|Update| H4\n    S1 --\u003e|Create/Update| H5\n\n    %% Authentication\n    Z4 --\u003e|Token| A1\n    A1 --\u003e|Store| T1\n    \n    %% Logging\n    S1 --\u003e|Log Events| L1\n    L1 --\u003e|Store| G1\n\n    %% Styles\n    classDef zoho fill:#ff9999\n    classDef hcp fill:#99ff99\n    classDef integration fill:#9999ff\n    classDef storage fill:#ffff99\n\n    class Z1,Z2,Z3,Z4 zoho\n    class H1,H2,H3,H4,H5 hcp\n    class W1,S1,A1,L1 integration\n    class G1,T1 storage\n```\n\nHire me at\n\n[![Hire concaption on upwork: https://www.upwork.com/freelancers/concaption](https://img.shields.io/badge/UpWork-6FDA44?style=for-the-badge\u0026logo=Upwork\u0026logoColor=white)](https://www.upwork.com/freelancers/concaption)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcaption%2Fzoho-housecall-data-2-ways-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconcaption%2Fzoho-housecall-data-2-ways-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcaption%2Fzoho-housecall-data-2-ways-sync/lists"}