• Home
  • Docs

Login
Get started
Date - Webtech X Webflow Template
Nov 17, 2023

Creating RFP From a Template

Learn how to create a new project (RFP) using our template system.

Plan Design Base PlanPlus Plan
Benefit PercentagePercentage QuestionPercentage Question
Benefit Maximum - WeeklyMoney QuestionMoney Question
Benefit Maximum - MonthlyMoney QuestionMoney Question

We try to make the process of creating a RFP (using the term RFP loosely here) easy for our customers. In our technology every RFP is called a "project". To make things easy for integration developers we've made it possible to create project templates. You can then compose an RFP project from one or more templates with any answers prefilled out.

Here's an example. Let's say we want to be able to have a plan design table on every RFP we create on Proposal Tech like this:
‍

{{table-component}}

‍

This can be built via our api with the following query:

// Query
  mutation Mutation($input: CreateProjectTemplate!) {
    createProjectTemplate(input: $input) {
      id
    }
  }

  // Variables
  {
    "input": {
      "sections": [
        {
          "table": [
            [
              {
                "text": {
                  "text": "Plan Design"
                }
              },
              {
                "text": {
                  "text": "Base Plan"
                }
              },
              {
                "text": {
                  "text": "Plus Plan"
                }
              }
            ],
            [
              {
                "text": {
                  "text": "Benefit Percentage"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "PERCENT"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "PERCENT"
                }
              }
            ],
            [
              {
                "text": {
                  "text": "Benefit Maximum - Weekly"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "MONEY"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "MONEY"
                }
              }
            ],
            [
              {
                "text": {
                  "text": "Benefit Maximum - Monthly"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "MONEY"
                }
              },
              {
                "numeric": {
                  "text": "",
                  "format": "MONEY"
                }
              }
            ]
          ]
        }
      ],
      "name": "Plan Design Template",
      "company": 123 // your company id
    }
  }

‍

Then when you want to create a new RFP project from an existing template, you can use the following query:

// Query
mutation Mutation($input: CreateProjectFromTemplate!) {
  createProjectFromTemplate(input: $input) {
    id
  }
}

// Variables
{
  "input": {
    "company": "123", // replace with you're company id
    "name": "New RFP with Plan Designs",
    "templates": [
      {
        "id": 123, // replace with the ID from the template creation
        "answers": [
          {
            "value": "my answer",
            "questionId": 123 // replace with the ID of the question in the template
          }
        ]
      }
    ]
  }
}

‍

Voila! You now have a new project created from the Plan Design template we created previously. You can explore the entire API via the playground.

‍

‍

Related questions

How to create a free Webtech account?

Read article


Do you offer free trials on Webtech?

Read article


How can I invite my team members?

Read article


How to create a free Webtech account?

Read article


Ready to get started? Create an account today

Get startedTalk to sales
Product
  • Home
  • Docs