> For the complete documentation index, see [llms.txt](https://docs.agenticflow.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agenticflow.ai/reference/nodes/mma_art_moments.md).

# MMA Art Moments

**Action ID:** `mma_art_moments`

## Description

MMA Art Moments node

## Input Parameters

| Name          | Type   | Required | Default | Description                               |
| ------------- | ------ | :------: | ------- | ----------------------------------------- |
| code          | string |     ✓    | -       | Unique code identifier for the art moment |
| name          | string |     ✓    | -       | Name of the person or entity              |
| email         | string |     ✓    | -       | Email address                             |
| company\_name | string |     ✓    | -       | Company name                              |
| job\_title    | string |     ✓    | -       | Job title or position                     |

<details>

<summary>View JSON Schema</summary>

**Input Schema**

```json
{
  "description": "MMA Art Moments node input.",
  "properties": {
    "code": {
      "title": "Code",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "email": {
      "title": "Email",
      "type": "string"
    },
    "company_name": {
      "title": "Company Name",
      "type": "string"
    },
    "job_title": {
      "title": "Job Title",
      "type": "string"
    }
  },
  "required": [
    "code",
    "name",
    "email",
    "company_name",
    "job_title"
  ],
  "title": "MMAArtMomentsInput",
  "type": "object"
}
```

</details>

## Output Parameters

| Name    | Type   | Description                           |
| ------- | ------ | ------------------------------------- |
| message | string | Status message or response text       |
| image   | string | URL to the generated art moment image |

<details>

<summary>View JSON Schema</summary>

```json
{
  "description": "MMA Art Moments node output.",
  "properties": {
    "message": {
      "title": "Message",
      "type": "string"
    },
    "image": {
      "title": "Image",
      "type": "string"
    }
  },
  "required": [
    "message",
    "image"
  ],
  "title": "MMAArtMomentsOutput",
  "type": "object"
}
```

</details>

## How It Works

This node processes registration or participation data for MMA Art Moments events by submitting user information including a unique code, personal details, and company information. It validates the submission, generates a personalized art moment image associated with the provided code, and returns both a confirmation message and the URL to the generated artwork.

## Usage Examples

### Example 1: Event Registration with Generated Art

**Input:**

```
code: "MMA2024-ART-12345"
name: "Jennifer Martinez"
email: "jennifer.martinez@creativeagency.com"
company_name: "Creative Agency Inc"
job_title: "Art Director"
```

**Output:**

```
message: "Successfully registered for MMA Art Moments. Your personalized art has been generated."
image: "https://mma-art-moments.com/generated/MMA2024-ART-12345.png"
```

### Example 2: VIP Attendee Registration

**Input:**

```
code: "MMA2024-VIP-67890"
name: "David Chen"
email: "david.chen@techstartup.io"
company_name: "Tech Startup Inc"
job_title: "Chief Technology Officer"
```

**Output:**

```
message: "VIP registration confirmed. Your exclusive art moment is ready."
image: "https://mma-art-moments.com/generated/MMA2024-VIP-67890.png"
```

### Example 3: Corporate Sponsor Registration

**Input:**

```
code: "MMA2024-SPONSOR-11111"
name: "Sarah Williams"
email: "sarah.williams@globalcorp.com"
company_name: "Global Corp Ltd"
job_title: "Marketing Director"
```

**Output:**

```
message: "Sponsor registration complete. Thank you for supporting MMA Art Moments."
image: "https://mma-art-moments.com/generated/MMA2024-SPONSOR-11111.png"
```

## Common Use Cases

* **Event Registration**: Register attendees for MMA Art Moments exhibitions and generate personalized commemorative artwork
* **VIP Experience Creation**: Create exclusive art moments for premium ticket holders or special guests
* **Corporate Sponsorship**: Process sponsor registrations and generate branded art assets for marketing
* **Digital Badge Generation**: Create unique digital badges or certificates for event participants
* **Attendee Engagement**: Generate shareable personalized art for social media promotion and attendee engagement
* **Post-Event Memorabilia**: Provide attendees with unique digital keepsakes from the MMA Art Moments experience
* **Networking Enhancement**: Create visual identifiers and conversation starters for networking at art events

## Error Handling

| Error Type              | Cause                                                 | Solution                                                                             |
| ----------------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Invalid Code            | The provided code doesn't match any valid event codes | Verify the code is correct and corresponds to an active MMA Art Moments event        |
| Duplicate Registration  | The code has already been used for registration       | Check if registration was previously completed or request a new code                 |
| Invalid Email Format    | Email address is malformed or invalid                 | Provide a valid email address in proper format (<name@domain.com>)                   |
| Missing Required Fields | One or more required fields are empty                 | Ensure all required fields (code, name, email, company\_name, job\_title) are filled |
| Code Expired            | The registration code has passed its expiration date  | Request a new valid code from the event organizers                                   |
| Image Generation Failed | System unable to generate personalized art            | Retry the request or contact support if the issue persists                           |
| Service Unavailable     | MMA Art Moments service is temporarily down           | Wait a few minutes and retry the registration                                        |

## Notes

* **Unique Codes**: Each code should be unique and typically provided by event organizers or obtained through registration systems.
* **Code Format**: Codes often follow a specific pattern (e.g., EVENT-TYPE-NUMBER) for easy categorization and tracking.
* **Personalization**: The generated image is customized based on the provided information, creating a unique art moment for each participant.
* **Email Verification**: Use a valid email address as it may be used for sending the art moment or event updates.
* **Company Branding**: For corporate events, company information may influence the style or branding of generated artwork.
* **Image Storage**: Save the returned image URL as it contains the personalized art moment that can be downloaded or shared.
* **Social Sharing**: Generated art moments are typically designed to be shareable on social media platforms for event promotion.
* **Privacy**: Ensure you have consent to use participant information as required by data protection regulations.
