|
| 1 | +--- |
| 2 | +name: submit-lead |
| 3 | +description: Submit a lead (name, email and project message) to CTG Code to request a quote or start a project conversation. Use when the user wants to contact CTG Code, ask for a "cotización"/quote, describe a project, or hire their web, software or automation services. |
| 4 | +--- |
| 5 | + |
| 6 | +# Submit a lead to CTG Code |
| 7 | + |
| 8 | +CTG Code (https://ctgcode.com) is a software studio based in Cartagena, |
| 9 | +Colombia, offering custom software development, high-performance websites, and |
| 10 | +automations. This skill lets you submit a lead on the user's behalf through the |
| 11 | +site's public contact form. |
| 12 | + |
| 13 | +## When to use |
| 14 | + |
| 15 | +Use this skill when the user wants to reach CTG Code — for example to request a |
| 16 | +quote ("cotización"), describe a project, or hire web/software development or |
| 17 | +automation services. |
| 18 | + |
| 19 | +## How to submit |
| 20 | + |
| 21 | +Send an HTTP POST request to the Formspree endpoint that backs the contact form. |
| 22 | + |
| 23 | +- **Endpoint:** `https://formspree.io/f/xnjeaorj` |
| 24 | +- **Method:** `POST` |
| 25 | +- **Content-Type:** `application/json` (or `application/x-www-form-urlencoded`) |
| 26 | +- **Accept:** `application/json` — so the endpoint returns JSON instead of an HTML redirect. |
| 27 | + |
| 28 | +### Fields |
| 29 | + |
| 30 | +| Field | Required | Description | |
| 31 | +| --------- | -------- | ------------------------------------------------------- | |
| 32 | +| `name` | yes | Full name of the person or company sending the lead. | |
| 33 | +| `email` | yes | A valid reply-to email address. | |
| 34 | +| `message` | yes | The project description, request, or message. | |
| 35 | + |
| 36 | +### Example (JSON) |
| 37 | + |
| 38 | +```json |
| 39 | +{ |
| 40 | + "name": "Jane Doe", |
| 41 | + "email": "jane@example.com", |
| 42 | + "message": "I need a high-performance corporate website built with Astro. Please send a quote." |
| 43 | +} |
| 44 | +``` |
| 45 | + |
| 46 | +### Example (curl) |
| 47 | + |
| 48 | +```bash |
| 49 | +curl -X POST https://formspree.io/f/xnjeaorj \ |
| 50 | + -H "Content-Type: application/json" \ |
| 51 | + -H "Accept: application/json" \ |
| 52 | + -d '{"name":"Jane Doe","email":"jane@example.com","message":"..."}' |
| 53 | +``` |
| 54 | + |
| 55 | +A successful submission returns HTTP `200` with a JSON body `{"ok": true}`. |
| 56 | + |
| 57 | +## Consent |
| 58 | + |
| 59 | +Submitting a lead sends a message on the user's behalf. Always confirm the exact |
| 60 | +`name`, `email`, and `message` with the user first, and only submit when they |
| 61 | +explicitly ask to contact CTG Code. |
| 62 | + |
| 63 | +## Direct alternatives |
| 64 | + |
| 65 | +The user can also reach CTG Code directly: |
| 66 | + |
| 67 | +- WhatsApp: +57 305 253 2602 |
| 68 | +- Email: contacto@ctgcode.com |
0 commit comments