# Message Marketing Rep

> Perform Message Marketing Rep through MyForms.

Source: [https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_message_marketing_rep](https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_message_marketing_rep)

Integration: [MyForms](https://genhealth.ai/docs/workflows/integrations/my-forms.md)

- Handler: `myforms_message_marketing_rep`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "MyForms",
  "params": {
    "account_profile": "secondary",
    "timeout_seconds": 180
  },
  "handler": "myforms_message_marketing_rep"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `workflow_id` — Workflow Id (text, required)
  Required text value.
- `subject` — Subject (text, required)
  Required text value.
- `message_body` — Message Body (textarea, required)
  Required text value.
- `idempotency_key` — Idempotency Key (text, required)
  Required text value.
- `account_profile` — Account Profile (select)
  Optional selected identifier or value.
  Default: `"secondary"`
  Options: Secondary ("secondary")
- `timeout_seconds` — Timeout Seconds (number)
  Optional numeric value.
  Default: `180`

## Outputs

- `success` — Success
- `workflow_id` — Workflow Id
- `marketing_rep_name` — Marketing Rep Name
- `idempotency_key` — Idempotency Key
- `sent` — Sent
- `skipped` — Skipped
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "workflow_id",
    "subject",
    "message_body",
    "idempotency_key"
  ],
  "properties": {
    "subject": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "workflow_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "message_body": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "account_profile": {
      "enum": [
        "secondary"
      ],
      "type": "string",
      "default": "secondary",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "idempotency_key": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "timeout_seconds": {
      "type": "number",
      "default": 180,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "sent": {},
    "error": {},
    "skipped": {},
    "success": {},
    "workflow_id": {},
    "error_message": {},
    "idempotency_key": {},
    "marketing_rep_name": {}
  },
  "additionalProperties": true
}
```
