Skip to main content

Documill Leap Project Event

Salesforce offers automation tools that can be triggered in different ways. One of the ways to trigger an automation is by publishing a Platform Event into Salesforce. Documill Leap Salesforce app takes advantage of this by providing a Platform Event called Documill Leap Project Event. This Platform Event enables you to build automation triggered by the events that happened in your Leap projects.

Data in Documill Leap Project Event

Currently, Documill Leap web app is able to send below project event data to Salesforce:

Event type

Description

Project Status change

When a Project changes its status. This includes when project went live, became paused, got canceled, or got completed.

Task Status change

When a Task changes its status. This includes when someone done editing a document, gave their review to a document, signed a document, and other task-related events.

The project event data is then stored as Documill Leap Project Event with below structure:

Field

Description

Example value

documill_leap__Event_Date__c

The date when the event happened.

2023-06-30 00:00:00

documill_leap__Event_Type__c

The type of the event.

  • ProjectStatusChange

  • TaskStatusChange

documill_leap__Event_Outcome__c

The outcome of the event. The meaning of this data depends on the type of the event.

  • If a ProjectStatusChange has an outcome of PAUSED:
    The project has been paused.

  • If a TaskStatusChange has an outcome of COMPLETED:
    The task has been completed.

documill_leap__Event_Collaborator__c

The collaborator involved in the event.

  • If the collaborator is a Leap User:
    Name of the collaborator.

  • If the collaborator is a guest:
    E-mail of the collaborator.

documill_leap__Event_Details__c

The full details of the event.

  • Example of a ProjectStatusChange:
    This data tells that a project, titled “Acme Agreement 2023” was paused on June 30th, 2023.

    CODE
    {
      "id":"5cd12734-f262-41f3-885e-97901420094b",
      "creationDate":"Jun 30, 2023, 8:48:41 AM",
      "eventType":"PROJECT_STATUS_CHANGE",
      "isMarkedAsRead":false,
      "status":"SUCCESS",
      "collaboratorId":"c386ed65-110b-4755-9c83-28b81867f655",
      "eventTags":{
        "project-name":"Acme Agreement 2023",
        "project-id":"bafd4772-bc7b-4334-84c2-613432e45dc2",
        "project-status":"PAUSED"
      }
    }

  • Example of a TaskStatusChange:
    This data tells that John Smith completed their review of contract.docx and gave it a pass on June 30th, 2023.

    CODE
    {
      "id":"b2d72305-6c6b-41fb-bd5b-49ca43c4d542",
      "creationDate":"Jun 30, 2023, 6:30:12 AM",
      "eventType":"TASK_STATUS_CHANGE",
      "status":"SUCCESS",
      "collaboratorId":"b48c5d59-ea99-48db-ab37-00e15d7ba235",  
      "eventTags":{
        "collaborator-id":"b48c5d59-ea99-48db-ab37-00e15d7ba235",
        "collaborator-email":"john.smith@company.com",
        "document-name":"contract.docx",
        "collaborator-name":"John Smith",
        "collaborator-project-role":"COLLABORATOR",
        "task-role":"REVIEWER",
        "task-status":"COMPLETED",
        "task-id":"bc0eef31-7ab1-401f-9568-2efa1818ef2b",
        "document-id":"24b32a8e-2fba-44ee-b8d9-067fe24fd69f"
      }  
    }

If this data is what you need for your automation, you can configure Documill Leap web app to send project event data to Salesforce: Sending Project Event Data to Salesforce .

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.