• Hi – My use case is as below:
    Trigger: Incoming webhook
    I get a webhook pay load (as below) with user plan_id and plan_name.
    Filter: If the webhook parameter plan_name is Medium, update the role type for user identified by user_id returned by webhook to “AAdvanced”.

    My workflow setup is as per this picture: https://pasteboard.co/Kge0QVv.png
    I am sending webhook to the webhook url. Not using any parameter in trigger for transient.
    Using the filter as Webhook Parameter:
    parameter name plan_name === Medium
    object path data:plan_name

    The webhook call is succeeding. The log shows that action – user update has started. But the filter fails.

    “2021-08-16 2998ee info Workflow Role Update. Filter processing returned false []
    3 2021-08-16 23:50:98ee info Workflow Role Update started object: (0) []”

    I believe I am providing the JSONPATH for the webhook parameter plan_name wrong. Could you advise what should that be from the following:

    Webhook paylod:

    {
    “webhook_id”: 1082,
    “type”: “account_created”,
    “data”: {
    “user_id”: 1,
    “plan_id”: 1,
    “trial_days”: 10,
    “billing_frequency”: 12,
    “template_id”: 1,
    “price”: 9.99,
    “user_login”: “johndoe”,
    “user_firstname”: “John”,
    “user_lastname”: “Doe”,
    “user_email”: “[email protected]”,
    “plan_name”: “Medium”,
    }
    }

    The page I need help with: [log in to see the link]

  • The topic ‘JSON PATH FOR INCOMING WEBHOOK’ is closed to new replies.