# MMA Brand Confirm

**Action ID:** `mma_brand_confirm`

## Description

MMA Brand Confirm node

## Input Parameters

| Name               | Type   | Required | Default | Description                                    |
| ------------------ | ------ | :------: | ------- | ---------------------------------------------- |
| brand              | string |     ✓    | -       | The brand name for the MMA event confirmation  |
| morning\_session   | array  |     ✓    | -       | List of morning session topics for the event   |
| afternoon\_session | array  |     ✓    | -       | List of afternoon session topics for the event |

<details>

<summary>View JSON Schema</summary>

```json
{
  "description": "MMA Brand Confirm node input.",
  "properties": {
    "brand": {
      "title": "Brand Name",
      "type": "string"
    },
    "morning_session": {
      "description": "List of morning session topics",
      "items": {
        "type": "string"
      },
      "title": "Morning Session",
      "type": "array"
    },
    "afternoon_session": {
      "description": "List of afternoon session topics",
      "items": {
        "type": "string"
      },
      "title": "Afternoon Session",
      "type": "array"
    }
  },
  "required": [
    "brand",
    "morning_session",
    "afternoon_session"
  ],
  "title": "MMABrandConfirmInput",
  "type": "object"
}
```

</details>

## Output Parameters

| Name    | Type   | Description                                                     |
| ------- | ------ | --------------------------------------------------------------- |
| message | string | Confirmation message with event details and session information |
| image   | string | URL to the generated confirmation image for the event           |

<details>

<summary>View JSON Schema</summary>

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

</details>

## How It Works

This node processes MMA (Mobile Marketing Association) event confirmation data for a specific brand, taking the brand name and session information for morning and afternoon schedules. It generates a formatted confirmation message summarizing the event details and produces a branded confirmation image suitable for marketing communications, event registration confirmations, or promotional materials.

## Usage Examples

### Example 1: Technology Brand Event

**Input:**

```
brand: "TechCorp"
morning_session: [
  "Opening Keynote: Future of Mobile Marketing",
  "Panel Discussion: AI in Marketing",
  "Workshop: Data Analytics Best Practices"
]
afternoon_session: [
  "Case Study: Successful Mobile Campaigns",
  "Networking Session",
  "Closing Remarks"
]
```

**Output:**

```
message: "Event Confirmation for TechCorp\n\nMorning Sessions:\n- Opening Keynote: Future of Mobile Marketing\n- Panel Discussion: AI in Marketing\n- Workshop: Data Analytics Best Practices\n\nAfternoon Sessions:\n- Case Study: Successful Mobile Campaigns\n- Networking Session\n- Closing Remarks\n\nThank you for your participation!"
image: "https://storage.example.com/events/techcorp_confirmation_12345.png"
```

### Example 2: Retail Brand Conference

**Input:**

```
brand: "RetailMax"
morning_session: [
  "Welcome & Registration",
  "E-commerce Trends 2024"
]
afternoon_session: [
  "Mobile Payment Solutions",
  "Customer Engagement Strategies",
  "Q&A Session"
]
```

**Output:**

```
message: "Event Confirmation for RetailMax\n\nMorning Sessions:\n- Welcome & Registration\n- E-commerce Trends 2024\n\nAfternoon Sessions:\n- Mobile Payment Solutions\n- Customer Engagement Strategies\n- Q&A Session\n\nThank you for your participation!"
image: "https://storage.example.com/events/retailmax_confirmation_67890.png"
```

### Example 3: Healthcare Brand Summit

**Input:**

```
brand: "HealthConnect"
morning_session: [
  "Digital Health Innovation",
  "Patient Engagement Apps",
  "HIPAA Compliance in Mobile"
]
afternoon_session: [
  "Telemedicine Best Practices",
  "Mobile Health Monitoring",
  "Round Table Discussion"
]
```

**Output:**

```
message: "Event Confirmation for HealthConnect\n\nMorning Sessions:\n- Digital Health Innovation\n- Patient Engagement Apps\n- HIPAA Compliance in Mobile\n\nAfternoon Sessions:\n- Telemedicine Best Practices\n- Mobile Health Monitoring\n- Round Table Discussion\n\nThank you for your participation!"
image: "https://storage.example.com/events/healthconnect_confirmation_24680.png"
```

## Common Use Cases

* **Event Registration Confirmations**: Generate personalized confirmation messages and images for attendees who register for MMA events
* **Automated Email Campaigns**: Create branded confirmation materials to be sent automatically after event registration
* **Event Marketing Materials**: Produce promotional images with session schedules for social media and marketing campaigns
* **Sponsor Communications**: Generate branded content for event sponsors showing their involvement and session participation
* **Mobile App Notifications**: Create rich notification content for event reminder apps with schedule details
* **Multi-Brand Event Management**: Process confirmations for multiple brands participating in the same MMA event
* **Session Planning Workflows**: Integrate with scheduling systems to automatically generate confirmations as sessions are finalized

## Error Handling

| Error Type              | Cause                                                       | Solution                                                          |
| ----------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------- |
| Missing Brand Name      | Brand parameter is empty or not provided                    | Ensure the brand name is provided and is not an empty string      |
| Empty Session Lists     | Morning or afternoon session arrays are empty               | Provide at least one session topic for each time period           |
| Invalid Session Format  | Session items are not strings or contain invalid characters | Ensure all session items are properly formatted strings           |
| Image Generation Failed | Error creating the confirmation image                       | Check image generation service availability and retry the request |
| Brand Not Found         | Brand name doesn't match any registered brands              | Verify the brand name matches your registered brand identities    |
| Session Limit Exceeded  | Too many sessions provided for a single time slot           | Reduce the number of sessions or split into multiple events       |
| Network Error           | Unable to upload or access generated image                  | Check network connectivity and storage service availability       |

## Notes

* **Brand Consistency**: Ensure the brand name matches exactly with your registered brand identities for proper image generation.
* **Session Organization**: Order sessions in the arrays according to their scheduled time sequence for better readability.
* **Session Descriptions**: Keep session titles concise and descriptive for better clarity in confirmations and images.
* **Image Storage**: The generated confirmation images are stored temporarily; save or distribute them promptly.
* **Localization**: Session titles should be in the appropriate language for your target audience.
* **Session Limits**: While the node accepts flexible session counts, consider keeping the total under 10 per period for readability.
* **Message Format**: The output message is formatted with line breaks; ensure your email or display system preserves formatting.
* **Branding Elements**: The generated image incorporates brand-specific colors and logos based on the brand name provided.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.agenticflow.ai/reference/nodes/mma_brand_confirm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
