Can't Add A Comment To Project Using Deluge Function

Can't Add A Comment To Project Using Deluge Function

Hi, I'm trying to add a comment to a project using a function in CRM but I can't find any examples of how to do that. I set up a Flow to add a comment to a project triggered on a field in the CRM but I would like to do it in conjunction with a function we have that creates a project based on a trigger from the CRM. The Flow action has to be the result of someone editing a specific field but I would like to accomplish this in one step without the staff having to remember to do it. 

I can find how to add comments to bugs or tasks in projects etc, but absolutly nothing on adding a comment to the actual project and NOT a bug or task. 

I've tried retrieving a project's details that already has as comment to see what the fields are but even that doesn't return anything at all about a comment. 

Our code currently creates a project in Zoho Projects based on templates we have set up in Projects. We have a drop down in the CRM that contains our project template names and based on this field, the function creates a new project using that template.

Once the project is created I would like to add a comment into that Project. That's it. It doesn't seem complicated but I flat out can't find any reference to do this. As you can take this action in Flow I'm assuming its possible??

I would think that I would have to create the project first, get the project ID and then either update the project with a comment or maybe just create a comment using the project ID. 

Any help would be amazing. 

    Access your files securely from anywhere

        Zoho Developer Community







                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Tips

                                                                            Tips

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now