Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

update doc

Jean-Baptiste Kaiser51db861a377e
diff --git a/doc/src/content/docs/users/import-data.mdx b/doc/src/content/docs/users/import-data.mdx
index 43d523f7..b2d952a8 100644
--- a/doc/src/content/docs/users/import-data.mdx
+++ b/doc/src/content/docs/users/import-data.mdx
@@ -40,26 +40,117 @@ Atomic CRM allows to import contacts, companies, tasks, notes, tags and deals fr
```json
{
"sales": [
- { "id": 123, "first_name": "John", "last_name": "Doe", "email": "[email protected]" }
+ {
+ "id": 123,
+ "first_name": "Barney",
+ "last_name": "Calhoun",
+ "email": "[email protected]"
+ }
],
"companies": [
- { "id": 234, "name": "A company" },
- { "id": 345, "name": "Another company", "description": "A description", "city": "A city", "country": "A country", "address": "An address", "zipcode": "A zipcode", "state_abbr": "A state abbreviation", "sales_id": 123 }
+ {
+ "id": 234,
+ "name": "Black Mesa Research Facility",
+ "sector": "industrials",
+ "size": 250,
+ "website": "https://blackmesa.com",
+ "linkedin_url": "https://linkedin.com/company/black-mesa",
+ "phone_number": "+1-505-555-0001",
+ "revenue": "$500M",
+ "tax_identifier": "12-3456789"
+ },
+ {
+ "id": 345,
+ "name": "Aperture Science",
+ "description": "We do what we must because we can",
+ "city": "Cleveland",
+ "country": "USA",
+ "address": "Deep underground facility",
+ "zipcode": "99999",
+ "state_abbr": "OH",
+ "sector": "industrials",
+ "size": 500,
+ "linkedin_url": "https://linkedin.com/company/aperture-science",
+ "website": "https://aperturescience.com",
+ "phone_number": "+1-216-555-0100",
+ "revenue": "$2B",
+ "tax_identifier": "98-7654321",
+ "context_links": [
+ "https://aperturescience.com/research",
+ "https://aperturescience.com/portal-technology"
+ ],
+ "sales_id": 123
+ }
],
"contacts": [
- { "id": 456, "first_name": "Jane", "last_name": "Smith" },
- { "id": 567, "first_name": "A first name", "last_name": "A last name", "title": "A title", "company_id": 345, "background": "A background", "linkedin_url": "A URL", "sales_id": 123, "emails": [ { "email": "[email protected]", "type": "Work" } ], "phones": { "number": "45646746788", "type": "Home" }, "tags": ["MyTag"] }
+ {
+ "id": 456,
+ "first_name": "Gordon",
+ "last_name": "Freeman",
+ "gender": "male",
+ "has_newsletter": false
+ },
+ {
+ "id": 567,
+ "first_name": "Cave",
+ "last_name": "Johnson",
+ "title": "CEO & Founder",
+ "company_id": 345,
+ "background": "Visionary entrepreneur. Believes in the power of science. May or may not have turned himself into a computer.",
+ "linkedin_url": "https://linkedin.com/in/cavejohnson",
+ "gender": "male",
+ "has_newsletter": true,
+ "sales_id": 123,
+ "emails": [
+ {
+ "email": "[email protected]",
+ "type": "Work"
+ }
+ ],
+ "phones": [
+ {
+ "number": "15551234567",
+ "type": "Work"
+ }
+ ],
+ "tags": ["VIP", "Science"]
+ }
],
"notes": [
- { "contact_id": 456, "sales_id": 123, "text": "Some text", "date": "2025-11-13T08:16:10Z" },
- { "contact_id": 456, "sales_id": 123, "text": "Some long text with lines\n\nAnother line", "date": "2025-02-14T09:20:21Z", "attachments": [ { "url": "https://mycurrentcrm.com/files/link", "name": "important.pdf" } ] }
+ {
+ "contact_id": 456,
+ "sales_id": 123,
+ "text": "Still refuses to speak. Communication continues to be challenging.",
+ "date": "2025-11-13T08:16:10Z"
+ },
+ {
+ "contact_id": 567,
+ "sales_id": 123,
+ "text": "Discussed new testing initiative involving portals.\n\nCave mentioned something about combustible lemons. Need to follow up on R&D budget.",
+ "date": "2025-02-14T09:20:21Z",
+ "attachments": [
+ {
+ "url": "https://aperturescience.com/files/combustible-lemons-proposal.pdf",
+ "name": "combustible-lemons-proposal.pdf"
+ }
+ ]
+ }
],
"tasks": [
- { "contact_id": 456, "sales_id": 123, "text": "A task title" },
- { "contact_id": 456, "sales_id": 123, "text": "Another task title", "due_date": "2025-03-26T16:15:00Z", "done_date": "2025-04-01T09:00:00" }
- ],
+ {
+ "contact_id": 456,
+ "sales_id": 123,
+ "text": "Send crowbar maintenance kit"
+ },
+ {
+ "contact_id": 567,
+ "sales_id": 123,
+ "text": "Schedule moon rock conversion demo",
+ "due_date": "2025-03-26T16:15:00Z",
+ "done_date": "2025-04-01T09:00:00"
+ }
+ ]
}
-
```
To display the import page, click on the User menu in the top right corner, and click on "Import data".