- name: Calculate score
  type: httpRequest
  retries: 3
  method: POST
  url: http://example.com/myEndpoint/{{candidate.email}}
  query:
    a: any text
    b: "{{text_candidate.uuid_id}}"
    d: "{{_secrets.mySecret}}"
    e: "{{_vars.initiator.id}}"
    f: A mix of anything {{_vars.initiator.email}} {{_secrets.abc}}
  headers:
    Authorization: Bearer {{_secrets.myToken}} {{text_candidate.uuid_id}}
  body:
    myKey: myValue
    anotherKey: "{{_secrets.mySecret}} {{text_candidate.uuid_id}}"
  mapping:
    _vars.response: "{{body}}"
    table_candidate.text_score: "{{body.data.score}}"
    _vars.statusCode: "{{statusCode}}"
    _vars.expireDate: "{{headers.expires}}"
- name: Calculate score
  type: httpRequest
  url: http://example.com/myEndpoint/{{candidate.email}}
- name: Save initiator
  type: dataSetter
  mapping:
    myField: _vars.initiator.id
