copy_folder doesn't copy automation rules via rest api

Lilian TLilian T
edited 02/02/21 in API & Developers
01/30/21 Edited 02/02/21
Answered - Pending Review

currently I run a copy_folder by API then found that the automation rules of the sheet under the folder is not copied.

I tried to create that automation rule by rest api, after copying the folder, but found that create_automation_rule is not available.


Is there a good way to do this fully via rest?

Popular Tags:

Answers

  • Hi @Lilian T

    Based on the documentation for copy_folder here, it looks like you would just need to include rules as one of your parameters (rules includes both notification and workflow rules).

    There's an example of how to include a parameter in C# (the example is for DATA) to the right of the documentation.

    If you're using Python, there's an example on GitHub, here (search for "rules" and you'll see it under "copy_folder").

    Let me know if you still need help after reviewing the examples above. If so, it would be helpful to see a copy of your request, but please remove any sensitive data.

    Cheers!

    Genevieve

Sign In or Register to comment.