Hello everyone,
I’m hoping that someone can offer some suggestions on how to address a problem I am attempting to solve. Here is what I am trying to accomplish:
My project is to generate a Statement of Work for e-signature. So far I have built an automation which:
- Sends data to Zapier via an HTTP Callout from a Salesforce Flow.
- The raw JSON data is then parsed via a Zapier code step into individual fields
- Specific portions of the raw JSON data is parsed via a Zapier code step into a set of line items.
- A PandaDoc is created from a template which uses data from step # 2 to fill in document variables, and uses data from Step 3 to populate a pricing table.
Up to this point, everything works swimmingly. It’s the last bit that I am really struggling to solve for. The requirement for this piece is:
The data coming from Salesforce consists of anywhere from 1 - 10 different deliverables (each of which is already listed in the pricing table in step 4), and each of these deliverables can have anywhere from 1 - 20 sub-items that make up the work that will be done as a part of those deliverables. I have a requirement to also include in the statement of work a list of the deliverables and their related sub-items along with estimated delivery dates. An example of how these items should appear is shown below
Deliverable 1
- D1 subitem 1 - XX/XX/XXXX
- D1 subitem 2 - XX/XX/XXXX
- D1 subitem 3 - XX/XX/XXXX
Deliverable 2
- D2 subitem 1 - XX/XX/XXXX
- D2 subitem 2 - XX/XX/XXXX
- D2 subitem 3 - XX/XX/XXXX
- D2 subitem 4 - XX/XX/XXXX
Because the number of deliverables and sub-items per deliverable is variable from one Statement of Work to the next, I’m finding it really difficult to wrap my head around how to generate the sub-items as shown.
If I were to use PandaDoc and just used variables for these items, how do I ensure that the sub-items are bulleted properly?
I’ve considered trying to generate the deliverable sub-item list as a separate document which could then be attached to the PandaDoc Statement of Work, but am unclear what other apps would best faciliate this.
Has anyone ever done something like this in the past and/or have any suggestions as to how to best approach this?