Action: Assign Prefilled Form
Jotform Operation
Last updated
{
"handle": "assign-prefilled-form",
"state": "inDev",
"meta": {
"short": "Assign Prefilled Form",
"description": "Assigns a prefilled form to a user in Jotform."
},
"input": [
{
"name": "formID",
"type": "String",
"required": true,
"meta": {
"description": "The ID of the form to be prefilled."
}
},
{
"name": "userEmail",
"type": "String",
"required": true,
"meta": {
"description": "The email of the user to whom the form will be assigned."
}
},
{
"name": "prefillData",
"type": "Map",
"required": true,
"meta": {
"description": "A map of field IDs and their corresponding prefilled values."
}
}
],
"output": [
{
"name": "response",
"type": "String",
"selector": ["response"],
"meta": {
"description": "The response from the Jotform API."
}
}
],
"steps": [
{
"type": "http",
"http": {
"method": "POST",
"path": "/form/{{formID}}/prefill",
"headers": {
"Content-Type": "application/json",
"APIKEY": "{{apiKey}}"
},
"bodyTemplate": {
"value": "{\"email\": \"{{userEmail}}\", \"prefill\": {{prefillData}}}",
"placeholders": [
{
"name": "userEmail",
"type": "String",
"description": "The email of the user to whom the form will be assigned.",
"required": true
},
{
"name": "prefillData",
"type": "Map",
"description": "A map of field IDs and their corresponding prefilled values.",
"required": true
}
]
}
}
}
]
}