diff --git a/packages/nodes-base/nodes/Orbit/Orbit.node.ts b/packages/nodes-base/nodes/Orbit/Orbit.node.ts index 6059c0cfc4..de80e61123 100644 --- a/packages/nodes-base/nodes/Orbit/Orbit.node.ts +++ b/packages/nodes-base/nodes/Orbit/Orbit.node.ts @@ -414,10 +414,12 @@ export class Orbit implements INodeType { const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject; const body: IDataObject = { type: 'post', + activity_type: 'post', url, }; if (additionalFields.publishedAt) { body.occurred_at = additionalFields.publishedAt as string; + delete body.publishedAt; } responseData = await orbitApiRequest.call(this, 'POST', `/${workspaceId}/members/${memberId}/activities/`, body);