workflows.services.executors.webhook ==================================== .. py:module:: workflows.services.executors.webhook .. autoapi-nested-parse:: Webhook step executor. Module Contents --------------- .. py:data:: logger .. py:class:: WebhookExecutor Bases: :py:obj:`workflows.services.executors.factory.AbstractStepExecutor` Execute an outbound HTTP call and optionally export values to $vars. - URL, headers, and string body templating with Django templates using a 'ctx' dict - Supports method, headers, body, auth (basic|bearer), timeoutSecs - result_to/result_source for whole-response capture - fine-grained exports: [{"from_path":"json.foo","to_path":"serial"}] # note: bare key allowed - Stores per-step context and returns a flat vars map for $vars merging. to_path: Accepts either "serial" or "vars.serial" (we strip optional "vars." and store under $vars). .. py:method:: do_execute(instance, _signal) Execute the webhook step. :param instance: Workflow instance being executed. :param _signal: Optional signal (unused for webhook steps). :returns: ExecutorResult describing step outcome and exported vars.