Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

41.6 KB
Raw Blame
{
    "id": "01a12fb6-3cfd-0000-da39-85fc4f654d94",
    "name": "Payment failed alert",
    "description": "Email the customer when a payment fails and alert your team in Slack. If no payment succeeds within 3 days, send a second reminder.",
    "version": 1,
    "created_at": "2026-10-12T00:00:00Z",
    "created_by": null,
    "updated_at": "2026-10-12T00:00:00Z",
    "trigger": {
        "type": "event",
        "filters": {
            "source": "events",
            "actions": [],
            "events": [
                {
                    "id": "payment failed",
                    "name": "payment failed",
                    "type": "events",
                    "order": 0
                }
            ]
        }
    },
    "trigger_masking": {
        "hash": "{person.id}",
        "ttl": 259200,
        "threshold": null
    },
    "conversion": {
        "window": "7d",
        "filters": [],
        "events": [
            {
                "filters": {
                    "source": "events",
                    "actions": [],
                    "events": [
                        {
                            "id": "payment succeeded",
                            "name": "payment succeeded",
                            "type": "events",
                            "order": 0
                        }
                    ]
                }
            }
        ]
    },
    "exit_condition": "exit_on_conversion",
    "edges": [
        {
            "from": "trigger_node",
            "to": "action_function_email_85673405-a900-4bac-8e69-a286c60fe955",
            "type": "continue"
        },
        {
            "from": "action_function_email_85673405-a900-4bac-8e69-a286c60fe955",
            "to": "action_function_8205c6df-8f33-4be2-8727-aeaf5002cc59",
            "type": "continue"
        },
        {
            "from": "action_function_8205c6df-8f33-4be2-8727-aeaf5002cc59",
            "to": "action_wait_until_condition_payment_recovered",
            "type": "continue"
        },
        {
            "from": "action_wait_until_condition_payment_recovered",
            "to": "exit_node",
            "type": "branch",
            "index": 0
        },
        {
            "from": "action_wait_until_condition_payment_recovered",
            "to": "action_function_email_payment_reminder",
            "type": "continue"
        },
        {
            "from": "action_function_email_payment_reminder",
            "to": "exit_node",
            "type": "continue"
        }
    ],
    "actions": [
        {
            "id": "trigger_node",
            "name": "Payment failed",
            "description": "Pick the event you send when a payment fails.",
            "on_error": null,
            "created_at": 0,
            "updated_at": 0,
            "filters": null,
            "type": "trigger",
            "output_variable": null,
            "config": {
                "type": "event",
                "filters": {
                    "source": "events",
                    "actions": [],
                    "events": [
                        {
                            "id": "payment failed",
                            "name": "payment failed",
                            "type": "events",
                            "order": 0
                        }
                    ]
                }
            }
        },
        {
            "id": "action_function_email_85673405-a900-4bac-8e69-a286c60fe955",
            "name": "Email the customer",
            "description": "Ask the customer to update their payment details.",
            "on_error": null,
            "created_at": 1791763200000,
            "updated_at": 1791763200000,
            "filters": null,
            "type": "function_email",
            "output_variable": null,
            "config": {
                "template_id": "template-email",
                "inputs": {
                    "email": {
                        "value": {
                            "to": {
                                "name": "",
                                "email": "{{ person.properties.email }}"
                            },
                            "from": {
                                "name": "",
                                "email": ""
                            },
                            "html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\">\n<head>\n<!--[if gte mso 9]>\n<xml>\n  <o:OfficeDocumentSettings>\n    <o:AllowPNG/>\n    <o:PixelsPerInch>96</o:PixelsPerInch>\n  </o:OfficeDocumentSettings>\n</xml>\n<![endif]-->\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <meta name=\"x-apple-disable-message-reformatting\">\n  <!--[if !mso]><!--><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--<![endif]-->\n  <title></title>\n  \n    <style type=\"text/css\">\n      \n      @media only screen and (min-width: 520px) {\n        .u-row {\n          width: 500px !important;\n        }\n\n        .u-row .u-col {\n          vertical-align: top;\n        }\n\n        \n            .u-row .u-col-100 {\n              width: 500px !important;\n            }\n          \n      }\n\n      @media only screen and (max-width: 520px) {\n        .u-row-container {\n          max-width: 100% !important;\n          padding-left: 0px !important;\n          padding-right: 0px !important;\n        }\n\n        .u-row {\n          width: 100% !important;\n        }\n\n        .u-row .u-col {\n          display: block !important;\n          width: 100% !important;\n          min-width: 320px !important;\n          max-width: 100% !important;\n        }\n\n        .u-row .u-col > div {\n          margin: 0 auto;\n        }\n\n\n}\n    \nbody{margin:0;padding:0}table,td,tr{border-collapse:collapse;vertical-align:top}p{margin:0}.ie-container table,.mso-container table{table-layout:fixed}*{line-height:inherit}a[x-apple-data-detectors=true]{color:inherit!important;text-decoration:none!important}\n\n\ntable, td { color: #000000; } </style>\n  \n  \n\n</head>\n\n<body class=\"clean-body u_body\" style=\"margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #F7F8F9;color: #000000\">\n  <!--[if IE]><div class=\"ie-container\"><![endif]-->\n  <!--[if mso]><div class=\"mso-container\"><![endif]-->\n  <table role=\"presentation\" style=\"border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #F7F8F9;width:100%\" cellpadding=\"0\" cellspacing=\"0\">\n  <tbody>\n  <tr style=\"vertical-align: top\">\n    <td style=\"word-break: break-word;border-collapse: collapse !important;vertical-align: top\">\n    <!--[if (mso)|(IE)]><table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td align=\"center\" style=\"background-color: #F7F8F9;\"><![endif]-->\n    \n  \n  \n<div class=\"u-row-container\" style=\"padding: 0px;background-color: transparent\">\n  <div class=\"u-row\" style=\"margin: 0 auto;min-width: 320px;max-width: 500px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;\">\n    <div style=\"border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;\">\n      <!--[if (mso)|(IE)]><table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding: 0px;background-color: transparent;\" align=\"center\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:500px;\"><tr style=\"background-color: transparent;\"><![endif]-->\n      \n<!--[if (mso)|(IE)]><td align=\"center\" width=\"500\" style=\"width: 500px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\" valign=\"top\"><![endif]-->\n<div class=\"u-col u-col-100\" style=\"max-width: 320px;min-width: 500px;display: table-cell;vertical-align: top;\">\n  <div style=\"height: 100%;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\">\n  <!--[if (!mso)&(!IE)]><!--><div style=\"box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\"><!--<![endif]-->\n  \n<table style=\"font-family:arial,helvetica,sans-serif;\" role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\">\n  <tbody>\n    <tr>\n      <td style=\"overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:arial,helvetica,sans-serif;\" align=\"left\">\n        \n  <div style=\"font-size: 14px; line-height: 140%; text-align: left; word-wrap: break-word;\">\n    <p style=\"line-height: 140%;\">Hi {{ person.properties.first_name }},<br><br>We couldn't process your latest payment. Update your payment details to keep your account active.<br><br>If you think this is a mistake, reply to this email.</p>\n  </div>\n\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n  <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]-->\n  </div>\n</div>\n<!--[if (mso)|(IE)]></td><![endif]-->\n      <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]-->\n    </div>\n  </div>\n  </div>\n  \n\n\n    <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n    </td>\n  </tr>\n  </tbody>\n  </table>\n  <!--[if mso]></div><![endif]-->\n  <!--[if IE]></div><![endif]-->\n</body>\n\n</html>\n",
                            "text": "Hi {{ person.properties.first_name }},\n\nWe couldn't process your latest payment. Update your payment details to keep your account active.\n\nIf you think this is a mistake, reply to this email.",
                            "design": {
                                "body": {
                                    "id": "URm0NvJQHB",
                                    "rows": [
                                        {
                                            "id": "Bl8ZJpyRQR",
                                            "cells": [1],
                                            "values": {
                                                "_meta": {
                                                    "htmlID": "u_row_1",
                                                    "htmlClassNames": "u_row"
                                                },
                                                "anchor": "",
                                                "locked": false,
                                                "columns": false,
                                                "padding": "0px",
                                                "hideable": true,
                                                "deletable": true,
                                                "draggable": true,
                                                "selectable": true,
                                                "_styleGuide": null,
                                                "hideDesktop": false,
                                                "duplicatable": true,
                                                "backgroundColor": "",
                                                "backgroundImage": {
                                                    "url": "",
                                                    "size": "custom",
                                                    "repeat": "no-repeat",
                                                    "position": "center",
                                                    "fullWidth": true,
                                                    "customPosition": ["50%", "50%"]
                                                },
                                                "displayCondition": null,
                                                "columnsBackgroundColor": ""
                                            },
                                            "columns": [
                                                {
                                                    "id": "FA4-hRI7VN",
                                                    "values": {
                                                        "_meta": {
                                                            "htmlID": "u_column_1",
                                                            "htmlClassNames": "u_column"
                                                        },
                                                        "border": {},
                                                        "locked": false,
                                                        "padding": "0px",
                                                        "deletable": true,
                                                        "borderRadius": "0px",
                                                        "backgroundColor": ""
                                                    },
                                                    "contents": [
                                                        {
                                                            "id": "-KDAT9u9Y5",
                                                            "type": "text",
                                                            "values": {
                                                                "text": "<p style=\"line-height: 140%;\">Hi {{ person.properties.first_name }},<br><br>We couldn't process your latest payment. Update your payment details to keep your account active.<br><br>If you think this is a mistake, reply to this email.</p>",
                                                                "_meta": {
                                                                    "htmlID": "u_content_text_1",
                                                                    "htmlClassNames": "u_content_text"
                                                                },
                                                                "anchor": "",
                                                                "locked": false,
                                                                "fontSize": "14px",
                                                                "hideable": true,
                                                                "deletable": true,
                                                                "draggable": true,
                                                                "linkStyle": {
                                                                    "inherit": true,
                                                                    "linkColor": "#0000ee",
                                                                    "linkUnderline": true,
                                                                    "linkHoverColor": "#0000ee",
                                                                    "linkHoverUnderline": true
                                                                },
                                                                "textAlign": "left",
                                                                "_languages": {},
                                                                "lineHeight": "140%",
                                                                "selectable": true,
                                                                "_styleGuide": null,
                                                                "duplicatable": true,
                                                                "containerPadding": "10px",
                                                                "displayCondition": null
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ],
                                    "values": {
                                        "_meta": {
                                            "htmlID": "u_body",
                                            "htmlClassNames": "u_body"
                                        },
                                        "language": {},
                                        "linkStyle": {
                                            "body": true,
                                            "linkColor": "#0000ee",
                                            "linkUnderline": true,
                                            "linkHoverColor": "#0000ee",
                                            "linkHoverUnderline": true
                                        },
                                        "textColor": "#000000",
                                        "fontFamily": {
                                            "label": "Arial",
                                            "value": "arial,helvetica,sans-serif"
                                        },
                                        "popupWidth": "600px",
                                        "_styleGuide": null,
                                        "popupHeight": "auto",
                                        "borderRadius": "10px",
                                        "contentAlign": "center",
                                        "contentWidth": "500px",
                                        "popupPosition": "center",
                                        "preheaderText": "",
                                        "backgroundColor": "#F7F8F9",
                                        "backgroundImage": {
                                            "url": "",
                                            "size": "custom",
                                            "repeat": "no-repeat",
                                            "position": "center",
                                            "fullWidth": true
                                        },
                                        "popupDisplayDelay": 0,
                                        "contentVerticalAlign": "center",
                                        "popupBackgroundColor": "#FFFFFF",
                                        "popupBackgroundImage": {
                                            "url": "",
                                            "size": "cover",
                                            "repeat": "no-repeat",
                                            "position": "center",
                                            "fullWidth": true
                                        },
                                        "popupCloseButton_action": {
                                            "name": "close_popup",
                                            "attrs": {
                                                "onClick": "document.querySelector('.u-popup-container').style.display = 'none';"
                                            }
                                        },
                                        "popupCloseButton_margin": "0px",
                                        "popupCloseButton_position": "top-right",
                                        "popupCloseButton_iconColor": "#000000",
                                        "popupOverlay_backgroundColor": "rgba(0, 0, 0, 0.1)",
                                        "popupCloseButton_borderRadius": "0px",
                                        "popupCloseButton_backgroundColor": "#DDDDDD"
                                    },
                                    "footers": [],
                                    "headers": []
                                },
                                "counters": {
                                    "u_row": 1,
                                    "u_column": 1,
                                    "u_content_text": 1
                                },
                                "schemaVersion": 21
                            },
                            "replyTo": "",
                            "subject": "Your payment didn't go through",
                            "preheader": ""
                        }
                    }
                },
                "message_category_type": "transactional"
            }
        },
        {
            "id": "action_function_8205c6df-8f33-4be2-8727-aeaf5002cc59",
            "name": "Alert your team",
            "description": "Connect your Slack channel to alert your team.",
            "on_error": null,
            "created_at": 1791763200000,
            "updated_at": 1791763200000,
            "filters": null,
            "type": "function",
            "output_variable": null,
            "config": {
                "template_id": "template-slack",
                "inputs": {
                    "slack_workspace": {
                        "templating": "hog"
                    },
                    "channel": {
                        "templating": "hog"
                    },
                    "icon_emoji": {
                        "value": ":hedgehog:",
                        "templating": "hog"
                    },
                    "username": {
                        "value": "PostHog",
                        "templating": "hog"
                    },
                    "blocks": {
                        "value": [
                            {
                                "type": "section",
                                "text": {
                                    "type": "mrkdwn",
                                    "text": ":warning: Payment failed for *{person.name}* ({person.properties.email}).\n<{person.url}|View person in PostHog>"
                                }
                            }
                        ],
                        "templating": "hog"
                    },
                    "text": {
                        "value": ":warning: Payment failed for *{person.name}* ({person.properties.email}).\n<{person.url}|View person in PostHog>",
                        "templating": "hog"
                    }
                }
            }
        },
        {
            "id": "action_wait_until_condition_payment_recovered",
            "name": "Payment succeeded within 3 days?",
            "description": "Customers who fix their payment details leave the workflow.",
            "on_error": null,
            "created_at": 1791763200000,
            "updated_at": 1791763200000,
            "filters": null,
            "type": "wait_until_condition",
            "config": {
                "condition": {
                    "filters": null
                },
                "events": [
                    {
                        "name": "payment succeeded",
                        "filters": {
                            "source": "events",
                            "actions": [],
                            "events": [
                                {
                                    "id": "payment succeeded",
                                    "name": "payment succeeded",
                                    "type": "events",
                                    "order": 0
                                }
                            ]
                        }
                    }
                ],
                "max_wait_duration": "3d"
            },
            "output_variable": null
        },
        {
            "id": "action_function_email_payment_reminder",
            "name": "Second reminder",
            "description": "Remind customers whose payment still hasn't gone through.",
            "on_error": null,
            "created_at": 1791763200000,
            "updated_at": 1791763200000,
            "filters": null,
            "type": "function_email",
            "output_variable": null,
            "config": {
                "template_id": "template-email",
                "inputs": {
                    "email": {
                        "value": {
                            "to": {
                                "name": "",
                                "email": "{{ person.properties.email }}"
                            },
                            "from": {
                                "name": "",
                                "email": ""
                            },
                            "html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\">\n<head>\n<!--[if gte mso 9]>\n<xml>\n  <o:OfficeDocumentSettings>\n    <o:AllowPNG/>\n    <o:PixelsPerInch>96</o:PixelsPerInch>\n  </o:OfficeDocumentSettings>\n</xml>\n<![endif]-->\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <meta name=\"x-apple-disable-message-reformatting\">\n  <!--[if !mso]><!--><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--<![endif]-->\n  <title></title>\n  \n    <style type=\"text/css\">\n      \n      @media only screen and (min-width: 520px) {\n        .u-row {\n          width: 500px !important;\n        }\n\n        .u-row .u-col {\n          vertical-align: top;\n        }\n\n        \n            .u-row .u-col-100 {\n              width: 500px !important;\n            }\n          \n      }\n\n      @media only screen and (max-width: 520px) {\n        .u-row-container {\n          max-width: 100% !important;\n          padding-left: 0px !important;\n          padding-right: 0px !important;\n        }\n\n        .u-row {\n          width: 100% !important;\n        }\n\n        .u-row .u-col {\n          display: block !important;\n          width: 100% !important;\n          min-width: 320px !important;\n          max-width: 100% !important;\n        }\n\n        .u-row .u-col > div {\n          margin: 0 auto;\n        }\n\n\n}\n    \nbody{margin:0;padding:0}table,td,tr{border-collapse:collapse;vertical-align:top}p{margin:0}.ie-container table,.mso-container table{table-layout:fixed}*{line-height:inherit}a[x-apple-data-detectors=true]{color:inherit!important;text-decoration:none!important}\n\n\ntable, td { color: #000000; } </style>\n  \n  \n\n</head>\n\n<body class=\"clean-body u_body\" style=\"margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #F7F8F9;color: #000000\">\n  <!--[if IE]><div class=\"ie-container\"><![endif]-->\n  <!--[if mso]><div class=\"mso-container\"><![endif]-->\n  <table role=\"presentation\" style=\"border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #F7F8F9;width:100%\" cellpadding=\"0\" cellspacing=\"0\">\n  <tbody>\n  <tr style=\"vertical-align: top\">\n    <td style=\"word-break: break-word;border-collapse: collapse !important;vertical-align: top\">\n    <!--[if (mso)|(IE)]><table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td align=\"center\" style=\"background-color: #F7F8F9;\"><![endif]-->\n    \n  \n  \n<div class=\"u-row-container\" style=\"padding: 0px;background-color: transparent\">\n  <div class=\"u-row\" style=\"margin: 0 auto;min-width: 320px;max-width: 500px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;\">\n    <div style=\"border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;\">\n      <!--[if (mso)|(IE)]><table role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding: 0px;background-color: transparent;\" align=\"center\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:500px;\"><tr style=\"background-color: transparent;\"><![endif]-->\n      \n<!--[if (mso)|(IE)]><td align=\"center\" width=\"500\" style=\"width: 500px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\" valign=\"top\"><![endif]-->\n<div class=\"u-col u-col-100\" style=\"max-width: 320px;min-width: 500px;display: table-cell;vertical-align: top;\">\n  <div style=\"height: 100%;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\">\n  <!--[if (!mso)&(!IE)]><!--><div style=\"box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;\"><!--<![endif]-->\n  \n<table style=\"font-family:arial,helvetica,sans-serif;\" role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\">\n  <tbody>\n    <tr>\n      <td style=\"overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:arial,helvetica,sans-serif;\" align=\"left\">\n        \n  <div style=\"font-size: 14px; line-height: 140%; text-align: left; word-wrap: break-word;\">\n    <p style=\"line-height: 140%;\">Hi {{ person.properties.first_name }},<br><br>We still couldn't process your payment. Update your payment details to avoid any interruption to your account.<br><br>If you need help, reply to this email.</p>\n  </div>\n\n      </td>\n    </tr>\n  </tbody>\n</table>\n\n  <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]-->\n  </div>\n</div>\n<!--[if (mso)|(IE)]></td><![endif]-->\n      <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]-->\n    </div>\n  </div>\n  </div>\n  \n\n\n    <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n    </td>\n  </tr>\n  </tbody>\n  </table>\n  <!--[if mso]></div><![endif]-->\n  <!--[if IE]></div><![endif]-->\n</body>\n\n</html>\n",
                            "text": "Hi {{ person.properties.first_name }},\n\nWe still couldn't process your payment. Update your payment details to avoid any interruption to your account.\n\nIf you need help, reply to this email.",
                            "design": {
                                "body": {
                                    "id": "URm0NvJQHB",
                                    "rows": [
                                        {
                                            "id": "Bl8ZJpyRQR",
                                            "cells": [1],
                                            "values": {
                                                "_meta": {
                                                    "htmlID": "u_row_1",
                                                    "htmlClassNames": "u_row"
                                                },
                                                "anchor": "",
                                                "locked": false,
                                                "columns": false,
                                                "padding": "0px",
                                                "hideable": true,
                                                "deletable": true,
                                                "draggable": true,
                                                "selectable": true,
                                                "_styleGuide": null,
                                                "hideDesktop": false,
                                                "duplicatable": true,
                                                "backgroundColor": "",
                                                "backgroundImage": {
                                                    "url": "",
                                                    "size": "custom",
                                                    "repeat": "no-repeat",
                                                    "position": "center",
                                                    "fullWidth": true,
                                                    "customPosition": ["50%", "50%"]
                                                },
                                                "displayCondition": null,
                                                "columnsBackgroundColor": ""
                                            },
                                            "columns": [
                                                {
                                                    "id": "FA4-hRI7VN",
                                                    "values": {
                                                        "_meta": {
                                                            "htmlID": "u_column_1",
                                                            "htmlClassNames": "u_column"
                                                        },
                                                        "border": {},
                                                        "locked": false,
                                                        "padding": "0px",
                                                        "deletable": true,
                                                        "borderRadius": "0px",
                                                        "backgroundColor": ""
                                                    },
                                                    "contents": [
                                                        {
                                                            "id": "-KDAT9u9Y5",
                                                            "type": "text",
                                                            "values": {
                                                                "text": "<p style=\"line-height: 140%;\">Hi {{ person.properties.first_name }},<br><br>We still couldn't process your payment. Update your payment details to avoid any interruption to your account.<br><br>If you need help, reply to this email.</p>",
                                                                "_meta": {
                                                                    "htmlID": "u_content_text_1",
                                                                    "htmlClassNames": "u_content_text"
                                                                },
                                                                "anchor": "",
                                                                "locked": false,
                                                                "fontSize": "14px",
                                                                "hideable": true,
                                                                "deletable": true,
                                                                "draggable": true,
                                                                "linkStyle": {
                                                                    "inherit": true,
                                                                    "linkColor": "#0000ee",
                                                                    "linkUnderline": true,
                                                                    "linkHoverColor": "#0000ee",
                                                                    "linkHoverUnderline": true
                                                                },
                                                                "textAlign": "left",
                                                                "_languages": {},
                                                                "lineHeight": "140%",
                                                                "selectable": true,
                                                                "_styleGuide": null,
                                                                "duplicatable": true,
                                                                "containerPadding": "10px",
                                                                "displayCondition": null
                                                            }
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ],
                                    "values": {
                                        "_meta": {
                                            "htmlID": "u_body",
                                            "htmlClassNames": "u_body"
                                        },
                                        "language": {},
                                        "linkStyle": {
                                            "body": true,
                                            "linkColor": "#0000ee",
                                            "linkUnderline": true,
                                            "linkHoverColor": "#0000ee",
                                            "linkHoverUnderline": true
                                        },
                                        "textColor": "#000000",
                                        "fontFamily": {
                                            "label": "Arial",
                                            "value": "arial,helvetica,sans-serif"
                                        },
                                        "popupWidth": "600px",
                                        "_styleGuide": null,
                                        "popupHeight": "auto",
                                        "borderRadius": "10px",
                                        "contentAlign": "center",
                                        "contentWidth": "500px",
                                        "popupPosition": "center",
                                        "preheaderText": "",
                                        "backgroundColor": "#F7F8F9",
                                        "backgroundImage": {
                                            "url": "",
                                            "size": "custom",
                                            "repeat": "no-repeat",
                                            "position": "center",
                                            "fullWidth": true
                                        },
                                        "popupDisplayDelay": 0,
                                        "contentVerticalAlign": "center",
                                        "popupBackgroundColor": "#FFFFFF",
                                        "popupBackgroundImage": {
                                            "url": "",
                                            "size": "cover",
                                            "repeat": "no-repeat",
                                            "position": "center",
                                            "fullWidth": true
                                        },
                                        "popupCloseButton_action": {
                                            "name": "close_popup",
                                            "attrs": {
                                                "onClick": "document.querySelector('.u-popup-container').style.display = 'none';"
                                            }
                                        },
                                        "popupCloseButton_margin": "0px",
                                        "popupCloseButton_position": "top-right",
                                        "popupCloseButton_iconColor": "#000000",
                                        "popupOverlay_backgroundColor": "rgba(0, 0, 0, 0.1)",
                                        "popupCloseButton_borderRadius": "0px",
                                        "popupCloseButton_backgroundColor": "#DDDDDD"
                                    },
                                    "footers": [],
                                    "headers": []
                                },
                                "counters": {
                                    "u_row": 1,
                                    "u_column": 1,
                                    "u_content_text": 1
                                },
                                "schemaVersion": 21
                            },
                            "replyTo": "",
                            "subject": "Your payment still hasn't gone through",
                            "preheader": ""
                        }
                    }
                },
                "message_category_type": "transactional"
            }
        },
        {
            "id": "exit_node",
            "name": "Exit",
            "description": "User moved through the workflow without errors.",
            "on_error": null,
            "created_at": 0,
            "updated_at": 0,
            "filters": null,
            "type": "exit",
            "config": {
                "reason": "Default exit"
            },
            "output_variable": null
        }
    ],
    "abort_action": null,
    "variables": [],
    "billable_action_types": ["function", "function_email"],
    "tags": ["billing", "payments", "email", "slack"],
    "scope": "global"
}