Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

4.9 KB
Raw Blame
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="format-detection" content="date=no" />
  <meta name="format-detection" content="address=no" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="x-apple-disable-message-reformatting" />
  <title>[{{projectName}}] Flow has an issue "{{flowName}}" ⚠️</title>
  <!--[if mso]>
  <style type="text/css">
    body, table, td, p, a { font-family: Arial, sans-serif !important; }
  </style>
  <![endif]-->
</head>
<body style="margin: 0; padding: 0; background: {{primaryColorLight}}; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-text-size-adjust: none;">
  <table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="background: {{primaryColorLight}};">
    <tbody>
      <tr>
        <td align="center" style="padding: 48px 20px;">

          <table role="presentation" width="560" border="0" cellspacing="0" cellpadding="0" style="background: #ffffff; border-radius: 12px; overflow: hidden;">
            <tbody>

              <tr>
                <td align="left" style="padding: 40px 40px 0 40px;">
                  <img src="{{fullLogoUrl}}" width="210" alt="{{platformName}}" style="display: block; max-width: 100%;" />
                </td>
              </tr>

              <tr>
                <td align="left" style="padding: 36px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 32px; line-height: 40px; font-weight: 500; color: #0a0a0a;">
                  Your flow "{{flowName}}" has an issue ⚠️
                </td>
              </tr>

              <tr>
                <td align="left" style="padding: 16px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 24px; color: #2f2e2e;">
                  First seen at <strong>{{createdAt}}</strong>. To recover, retry this run from the runs table, or update the flow, republish, and retry it again.
                </td>
              </tr>

              <tr>
                <td align="left" style="padding: 16px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 24px; color: #2f2e2e;">
                  <strong>Project:</strong> {{projectName}}
                </td>
              </tr>

              <tr>
                <td align="left" style="padding: 16px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 24px; color: #2f2e2e;">
                  <strong>Failed at:</strong> {{#failedStepNumber}}{{failedStepNumber}}. {{/failedStepNumber}}{{failedStepDisplayName}}
                </td>
              </tr>

              {{#failedStepMessage}}
              <tr>
                <td align="left" style="padding: 8px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14px; line-height: 22px; color: #2f2e2e; word-break: break-word;">
                  <strong>Reason:</strong> {{failedStepMessage}}
                </td>
              </tr>
              {{/failedStepMessage}}

              <tr>
                <td align="left" style="padding: 28px 40px 0 40px;">
                  <table role="presentation" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                      <tr>
                        <td align="left" style="background: {{primaryColor}}; border-radius: 8px;">
                          <a href="{{runUrl}}" target="_blank" style="display: block; padding: 12px 18px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; font-weight: 500; color: #ffffff; text-decoration: none;">
                            View Run
                          </a>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>

              <tr>
                <td align="left" style="padding: 12px 40px 0 40px; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 11px; line-height: 16px; color: #a3a3a3;">
                  If the button doesn't work, <a href="{{runUrl}}" style="color: {{primaryColor}}; text-decoration: underline;">click here</a>.
                </td>
              </tr>

              <tr>
                <td style="padding: 24px 40px 32px 40px;">
                  {{> footer}}
                </td>
              </tr>

            </tbody>
          </table>

        </td>
      </tr>
    </tbody>
  </table>
</body>
</html>