The Reform API allows you to automate the management and analysis of forms and surveys. By connecting Reform to Pipedream, you can create, update, and retrieve form submissions, and set up workflows that trigger on new responses. This opens up possibilities for integrating form data with other tools, managing event-driven notifications, or feeding customer insights into your CRM systems—all in a serverless environment that scales with your needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reform: {
type: "app",
app: "reform",
}
},
async run({steps, $}) {
const fields_to_extract = [
{
"name": "Nouns",
"description": "Please extract all nouns.",
"type": "String"
},
{
"name": "Verbs",
"description": "Please extract all verbs.",
"type": "String"
}
]
const data = {
text_content: "There are usually about 200 words in a paragraph, but this can vary widely. Most paragraphs focus on a single idea that's expressed with an introductory sentence, then followed by two or more supporting sentences about the idea. A short paragraph may not reach even 50 words while long paragraphs can be over 400 words long, but generally speaking they tend to be approximately 200 words in length.",
fields_to_extract: fields_to_extract
}
return await axios($, {
method: "post",
url: `https://api.reformhq.com/v1/api/extract-text `,
headers: {
Authorization: `Bearer ${this.reform.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Automated Response Aggregation: Collect submissions from a Reform form and aggregate them in a Google Sheet. Whenever a new form is submitted, a Pipedream workflow triggers, extracts the form data, and appends it to the Google Sheet, keeping records up-to-date without manual entry.
Dynamic CRM Updates: Keep your CRM system in sync with customer feedback. Each time a Reform submission comes through, use Pipedream to parse the response and update the relevant customer profile in HubSpot, ensuring your sales and support teams have the latest information.
Slack Notification for Survey Responses: Stay on top of user feedback by getting instant notifications. Set up a Pipedream workflow that listens for new Reform submissions and sends a formatted message to a designated Slack channel, allowing your team to quickly react to customer insights or issues.
Extract structured data from a document. See the documentation
Extract structured data from unstructured text. See the documentation
Reform uses API keys for authentication. When you connect your Reform account, Pipedream securely stores the keys so you can easily authenticate to Reform APIs in both code and no-code steps.
Reform requires their users enter their Reform email and password in order to connect to their API. For more info, refer to Reform’s documentation.
Pipedream recommends using a strong and unique password for your Reform account.