
Use-case
As a project manager, you would want to create a Project Initiation Document (PID) to outline project objectives and capture critical information whenever a new project is created. You can automate this by associating a Custom Function to a Workflow Rule. This process involves the following steps:
- Creation of Merge Template in Zoho Writer. (Refer to the steps mentioned in this help document)
- Creation of a Custom Function in Zoho Projects.
- Associate the Custom Function (created in Step 2) with a Workflow Rule.
Likewise, you can use Zoho Writer Integration to digitally sign documents using Zoho Sign, automate the process of sending out documents to the clients or customers, and more.
(Step 2) Create a Custom Function in Zoho Projects
- Go to Zoho Projects, then navigate to
> Developer Space > Custom Function. - Click Create Custom Function and choose Merge and Store Documents using a Zoho Writer.
- In the Create Project Custom Function page, enter the template ID, folder ID, and File name parameters in the arguments section.
Reference image to find template ID
Reference image to find folder ID
Note: Go to the folder in which the document is added and then find the ID as in the image.
4. Update the deluge script with the following information:
- ZWConnection: Zoho Writer Connection name
- ZPConnection: Zoho Projects Connection name
- templateId: Zoho Writer Template ID
- folderId: Zoho WorkDrive Folder ID
- fileName: Zoho Writer Document Name
Get a detailed info on creating a Custom Function with Merge and Store document function from this
link.
- Click the
icon at the top-right corner.
- Select Workflow Rules under Project Automation.
- Click New Workflow Rule and create a new workflow.
- In a condition, add the action to Associate Custom Function.
- Choose the following condition for the project initiation document to be generated.
- When > Project is Created.
- Condition 1 > Add Action > Select the custom function created in Step 2 and click Associate.
- Click Save Rule.
Now, whenever a new project is created, a project initiation document containing the project details will be generated. You can find this document in your project Comments section or in the respective WorkDrive folder.
Below is a PID document created through Zoho Writer integration in Zoho Projects: