Skip to content

Commit

Permalink
refactor: intercom version workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
koladilip committed Feb 2, 2024
1 parent ec68971 commit b897d9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cdk/v2/destinations/intercom/procWorkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ steps:

- name: finalPayload
template: |
$.context = $.outputs.versionWorkflows.v1 ?? $.outputs.versionWorkflows.v2
const finalOutput = $.outputs.versionWorkflows.v1 ?? $.outputs.versionWorkflows.v2
$.context.requestMethod = finalOutput.requestMethod;
$.context.payload = finalOutput.payload;
$.context.endpoint = finalOutput.endpoint;
- name: buildResponseForProcessTransformation
description: Build response for multiple transformed event
Expand Down

0 comments on commit b897d9d

Please sign in to comment.