{"name":"dsigns — Publish an approved player","nodes":[{"parameters":{},"id":"start","name":"Run manually","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[0,0]},{"parameters":{"url":"https://dsigns.bitprecision.com/api/v1/players/REPLACE_PLAYER_ID/publication-preview","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{},"method":"POST","sendHeaders":true,"headerParameters":{"parameters":[{"name":"Idempotency-Key","value":"={{ $execution.id + \"-Preview-assigned-drafts\" }}"}]},"sendBody":true,"specifyBody":"json","jsonBody":"{}"},"id":"Preview-assigned-drafts","name":"Preview assigned drafts","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[300,0]},{"parameters":{"url":"https://dsigns.bitprecision.com/api/v1/players/REPLACE_PLAYER_ID/publish","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{},"method":"POST","sendHeaders":true,"headerParameters":{"parameters":[{"name":"Idempotency-Key","value":"={{ $execution.id + \"-Publish-approved-drafts\" }}"}]},"sendBody":true,"specifyBody":"json","jsonBody":"={{ JSON.stringify({previewId: $json.previewId}) }}"},"id":"Publish-approved-drafts","name":"Publish approved drafts","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[600,0]}],"connections":{"Run manually":{"main":[[{"node":"Preview assigned drafts","type":"main","index":0}]]},"Preview assigned drafts":{"main":[[{"node":"Publish approved drafts","type":"main","index":0}]]}},"active":false,"settings":{"executionOrder":"v1"}}