25115243 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.213
Run Time 00:00.007
Inserted 8h ago
Scheduled 8h ago
Completed
Cancelled
Discarded 8h ago

Args

%{
  "account_id" => "27555",
  "data" => %{
    "account_insight_agent_id" => "20763a41-583a-495b-ae20-088984359718",
    "insights" => [
      %{
        "action_plan" => "Treat this as a routine cleanup pass.\n\n1. Review the inactive list and keep any experiences that are intentionally seasonal, contractual, or reserved for low-volume edge cases.\n2. For the rest, unpublish them to keep your live inventory current and reduce clutter in future reviews.\n3. Start with the older onboarding flows and legacy Help/Supportblog variants, since they make up most of the inactive set and had no activity in the last 30 days.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 5f389a49-4c58-4853-89b2-19fd4e2673dd named \"Onboarding ENG - Admin - Gebruiker aanmaken \". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive onboarding user flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 5f389a49-4c58-4853-89b2-19fd4e2673dd named \"Onboarding ENG - Admin - Gebruiker aanmaken \". Republish only this experience."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 9ce450ec-4867-4fc6-9ca4-9733cc5b1755 named \"Onboarding ENG - Admin - Email aanmaken\". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive onboarding email flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 9ce450ec-4867-4fc6-9ca4-9733cc5b1755 named \"Onboarding ENG - Admin - Email aanmaken\". Republish only this experience."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID a9a43d1e-6e58-4108-8471-3c89700c90c2 named \"Onboarding ENG - Admin - Bedrijf aanmaken\". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive onboarding company flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID a9a43d1e-6e58-4108-8471-3c89700c90c2 named \"Onboarding ENG - Admin - Bedrijf aanmaken\". Republish only this experience."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 77289657-b492-4848-aef3-f1c663220322 named \"Onboarding NL- Boeken - PAP\". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive PAP onboarding flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 77289657-b492-4848-aef3-f1c663220322 named \"Onboarding NL- Boeken - PAP\". Republish only this experience."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 4183422f-574d-4311-8882-eba66b75639c named \"Uitleg ENG - Post - Document splitsen \". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive document split flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 4183422f-574d-4311-8882-eba66b75639c named \"Uitleg ENG - Post - Document splitsen \". Republish only this experience."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 251406e8-0a45-47db-b5f0-ce8b82452849 named \"Factuur goedkeuren - Widget\". This flow was identified in an inactivity hygiene review as having no seen or completion activity in the last 30 days and it is older than 3 weeks. Unpublish only this experience.",
            "title" => "Unpublish inactive approval widget flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 251406e8-0a45-47db-b5f0-ce8b82452849 named \"Factuur goedkeuren - Widget\". Republish only this experience."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up these inactive published experiences should reduce content sprawl, make governance easier, and help your team focus on live experiences that still contribute to activation and engagement.",
        "finding" => "I reviewed published **Flows, Pins, Banners, and Checklists** that were created before **2026-04-07** and found **42 experiences** with **no seen or completion activity in the last 30 days**.\n\nThis looks like routine content hygiene rather than a mistake. Based on naming and available metadata, the inactive set is mostly:\n- **36 legacy help/support flows** intended to surface support blogs or help resources\n- **4 onboarding admin step flows** intended to guide setup tasks\n- **2 older product education flows** for feature education\n\nInactive published experiences:\n- [Onboarding ENG - Admin - Gebruiker aanmaken](https://studio.appcues.com/flows/5f389a49-4c58-4853-89b2-19fd4e2673dd/settings)\n  - Type: Flow\n- [Onboarding ENG - Admin - Email aanmaken](https://studio.appcues.com/flows/9ce450ec-4867-4fc6-9ca4-9733cc5b1755/settings)\n  - Type: Flow\n- [Onboarding ENG - Admin - Bedrijf aanmaken](https://studio.appcues.com/flows/a9a43d1e-6e58-4108-8471-3c89700c90c2/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFfPrI7M0blgimQrnc/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFafX-LYhvGr-ypn6U/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-Lb3SqocXpAF-2MNvItC/settings)\n  - Type: Flow\n- [Onboarding NL- Boeken - PAP](https://studio.appcues.com/flows/77289657-b492-4848-aef3-f1c663220322/settings)\n  - Type: Flow\n- [Uitleg ENG - Post - Document splitsen](https://studio.appcues.com/flows/4183422f-574d-4311-8882-eba66b75639c/settings)\n  - Type: Flow\n- [Factuur goedkeuren - Widget](https://studio.appcues.com/flows/251406e8-0a45-47db-b5f0-ce8b82452849/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFAoI2ASq-AWPuJHbv/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZF_D51dB5KucMqOf23/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-Lb3B2rLcs2OCpsvCp9w/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFc09INq2b9OZ95_xy/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFcprrshMDGr6EHKeP/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LauHANX_Y7VYcLLPPcS/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LauFc78m8GlTTnSYbXU/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFYSNznTHbBOSheE8L/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFcG_nXESXz8V0a54n/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFbTlh7q5CWz5jLpEq/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-Lb3WMaGHo-fLI5tFOn6/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LlaApW6Ax8VCphobynR/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-Lb3dAx7YduCUnF3OqaV/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LauYqgdlEZJjv7Yx4kR/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LauWkUoW3QDLNkpSLVW/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFbhh65xWcLChO3TjK/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFddyr4r2ZEk0uF-pf/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFZTf49fB7oRZ9bqfr/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZF_A0dK7lqzT5flAAw/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFAZtG87o468cxUgkj/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFY-WM9CeWUf7vcIUF/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFbQeJrhf8-dmro2f_/settings)\n  - Type: Flow\n- [Help: Supportblog(s)](https://studio.appcues.com/flows/-LZFYuQUYgjyY5XNxgYQ/settings)\n  - Type: Flow\n- [Help:" <> ...,
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "42 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "52638841-0e0f-488a-91d2-6d0bdeb305cf",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777405484548892, "structured" => true}

Errors

Attempt 5—8h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 4—8h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 3—8h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 2—8h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 1—8h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4