🤝
This commit is contained in:
@@ -2,12 +2,32 @@
|
||||
"name": "N8N CRM",
|
||||
"description": "Manage contacts and deal stages via your n8n webhook CRM.",
|
||||
"fields": [
|
||||
{"label": "Webhook Base URL", "key": "webhook_url", "type": "text", "placeholder": "https://your-n8n.example.com/webhook/crm"},
|
||||
{"label": "Auth Header Name", "key": "auth_header_name", "type": "text", "placeholder": "Authorization"},
|
||||
{"label": "Auth Header Value", "key": "auth_header_value", "type": "password", "placeholder": ""},
|
||||
{"label": "Example Contact JSON (paste one record from your CRM)", "key": "example_json", "type": "textarea", "placeholder": "{\n \"email\": \"alice@example.com\",\n \"name\": \"Alice Smith\",\n \"company\": \"Acme Corp\",\n \"stage\": \"Cold\",\n \"followup\": false,\n \"notes\": \"\"\n}"}
|
||||
{
|
||||
"label": "Webhook Base URL",
|
||||
"key": "webhook_url",
|
||||
"type": "text",
|
||||
"placeholder": "https://your-n8n.example.com/webhook/crm"
|
||||
},
|
||||
{
|
||||
"label": "Auth Header Name",
|
||||
"key": "auth_header_name",
|
||||
"type": "text",
|
||||
"placeholder": "Authorization"
|
||||
},
|
||||
{
|
||||
"label": "Auth Header Value",
|
||||
"key": "auth_header_value",
|
||||
"type": "password",
|
||||
"placeholder": ""
|
||||
},
|
||||
{
|
||||
"label": "Example Contact JSON (paste one record from your CRM)",
|
||||
"key": "example_json",
|
||||
"type": "textarea",
|
||||
"placeholder": "{\n \"email\": \"alice@example.com\",\n \"name\": \"Alice Smith\",\n \"company\": \"Acme Corp\",\n \"stage\": \"Cold\",\n \"followup\": false,\n \"notes\": \"\"\n}"
|
||||
}
|
||||
],
|
||||
"signup_url": "https://n8n.io",
|
||||
"signup_label": "Need a webhook backend? Try n8n — self-host or cloud",
|
||||
"signup_label": "🤝 Need a webhook backend? Try n8n — self-host or cloud",
|
||||
"prompt": "Create a skill for an N8N CRM backed by a webhook.\n\n## Configuration\n\nWEBHOOK_URL={webhook_url}\nAUTH_HEADER_NAME={auth_header_name}\nAUTH_HEADER_VALUE={auth_header_value}\n\n## Example record schema (auto-detected from user input)\n\n{example_json}\n\nParse the keys of the JSON above to discover the available columns. Always use exactly those column names when building payloads or displaying data. The column named \"email\" is the unique identifier for every contact.\n\n## Stages\n\n| Stage | Meaning |\n|------------|--------------------------------|\n| Cold | No contact so far |\n| Contacted | First message / email sent |\n| Warm | Response received |\n| Won | Deal closed successfully |\n| Lost | Deal closed unsuccessfully |\n\n## API contract\n\n### List contacts\n\n curl -s -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \"$WEBHOOK_URL\"\n curl -s -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \"$WEBHOOK_URL?stage=Warm\"\n curl -s -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \"$WEBHOOK_URL?email=alice@example.com\"\n curl -s -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \"$WEBHOOK_URL?followup=true\"\n\n### Create or update a contact (upsert by email)\n\n curl -s -X POST \"$WEBHOOK_URL\" \\\n -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \\\n -H 'Content-Type: application/json' \\\n -d '{\"email\":\"alice@example.com\",\"name\":\"Alice Smith\",\"stage\":\"Contacted\",\"followup\":false}'\n\n### Delete a contact\n\n curl -s -X DELETE \"$WEBHOOK_URL\" \\\n -H \"$AUTH_HEADER_NAME: $AUTH_HEADER_VALUE\" \\\n -H 'Content-Type: application/json' \\\n -d '{\"email\":\"alice@example.com\"}'\n\n## Solved cases log\n\nAfter every successful CRM task, append an entry to ~/crm_solutions.md:\n\n ## <short title> (<date>)\n Goal: <one sentence>\n Key commands: <the curl | jq pipelines that worked>\n Gotchas: <anything non-obvious>\n\nRead ~/crm_solutions.md at task start — if a matching case exists, reuse it directly."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user