Webhook in test mode OK in production not

Describe the problem/error/question

I have created a webhook that receives JSON data in both testing and production environments. When I test the workflow, the Telegram and Pushover notifications work fine. However, when I use the workflow live, I see the same JSON data in the execution, but the JSON mapping for Telegram and Pushover is not found.

What is the error message (if any)?

I don’t get an error. I don’t get the included information

Please share your workflow

Share the output returned by the last node

  {
    "headers": {
      "host": "********",
      "user-agent": "thrivecart/1.0",
      "content-length": "2307",
      "accept": "application/json",
      "content-type": "application/json",
      "x-forwarded-for": "3.84.33.236",
      "x-forwarded-host": "********",
      "x-forwarded-proto": "https",
      "accept-encoding": "gzip"
    },
    "params": {},
    "query": {},
    "body": {
      "event": "order.success",
      "mode": "test",
      "mode_int": "1",
      "thrivecart_account": "********",
      "thrivecart_secret": "********",
      "base_product": "17",
      "base_product_name": "Test-FUNNEL Upsell",
      "base_product_label": "",
      "base_product_owner": "********",
      "order_id": "********",
      "invoice_id": "********",
      "subscription_ids": [],
      "order_date": "2023-07-06 18:31:05",
      "order_timestamp": "1688668265",
      "currency": "EUR",
      "customer_id": "********",
      "customer_identifier": "********",
      "customer": {
        "id": "********",
        "client_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
        "client_meta_fbp": "fb.********",
        "origin": "vanity",
        "email": "********@********",
        "address": {
          "line1": "********",
          "city": "********",
          "zip": "********",
          "country": "AT"
        },
        "tandc": "1",
        "ip_address": "********",
        "first_name": "Chris",
        "last_name": "Test",
        "name": "Chris Test",
        "checkbox_confirmation": "false"
      },
      "affiliate": "null",
      "order": {
        "id": "********",
        "invoice_id": "********",
        "processor": "stripe",
        "total": "2000",
        "total_str": "20.00",
        "total_gross": "2400",
        "total_gross_str": "24.00",
        "date": "2023-07-06 18:31:05",
        "date_iso8601": "2023-07-06T18:31:05+00:00",
        "date_unix": "1688668265",
        "tracking_id": "null",
        "tax": "0.2",
        "tax_type": "at",
        "tax_name": "Austria MwSt",
        "tax_name_brief": "MwSt",
        "tax_structure": "exclusive",
        "tax_reverse_charge": "false",
        "charges": [
          {
            "name": "Test-FUNNEL Upsell",
            "label": "",
            "reference": "17",
            "item_type": "product",
            "item_identifier": "product_17",
            "amount": "2000",
            "amount_str": "20.00",
            "original_amount": "2000",
            "original_amount_str": "20.00",
            "type": "single",
            "quantity": "1",
            "unit_price": "2000",
            "unit_price_str": "20.00",
            "defer": "false",
            "amount_gross": "2400",
            "amount_gross_str": "24.00",
            "tax_paid": "400",
            "tax_paid_str": "4.00",
            "payment_plan_id": "********",
            "payment_plan_name": "One-time payment (€10.00)"
          }
        ],
        "future_charges": []
      },
      "transactions": {
        "product-17": "********"
      },
      "subscriptions": [],
      "purchases": [
        "Test-FUNNEL Upsell"
      ],
      "purchase_map": [
        "product-17"
      ],
      "purchase_map_flat": "product-17",
      "accessible_purchases": [
        "Test-FUNNEL Upsell"
      ],
      "accessible_purchase_map": [
        "product-17"
      ],
      "accessible_purchase_map_flat": "product-17",
      "fulfillment": {
        "url": "********/"
      }
    }
  }
]

Information on your n8n setup

  • **n8n version:0.234.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, ):
  • Operating system:

Hey @chris2,

Does the below work?

Hi @Jon The Webhook part gets alle information I can see them in the JSON. But I connect them like the screenshot it didn’t find the json information

Hey @chris2,

I have changed the expressions so I am curious to know if that works, If it doesn’t it would be handy to see the data that fails to trigger it.

Thank you so much it works

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.