Guides
Forms
Ask people a few questions after they sign up. Each answer is saved with the person.
Use your agent. Paste this into it:
Read hunchwire.com/docs/forms and ask new sign-ups what they use today.
Questions after sign-up
Ask people a few questions right after they join. Each project has one optional form for this.
On any page with the form, hosted or embedded, a new sign-up sees the questions one at a time and can answer or skip each. Answers show on the person in People.
GET
/projects/:id/follow_up
Get the questions.
Details
- Returns
enabled,questionsandanswers(how many answers people have given). - Each question has:
key: stable. Answers stay attached when you reorder or reword the question.type:short,long,choiceorrating(1 to 5).label: the question.choices: the options, forchoice.required.
GET /projects/:id/follow_up
curl https://app.hunchwire.com/projects/:id/follow_up \
-H "Authorization: Bearer $HUNCHWIRE_TOKEN"
import os, requests
r = requests.get(
"https://app.hunchwire.com/projects/:id/follow_up",
headers={"Authorization": f"Bearer {os.environ['HUNCHWIRE_TOKEN']}"},
)
r.json()
const res = await fetch("https://app.hunchwire.com/projects/:id/follow_up", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.HUNCHWIRE_TOKEN}`,
},
})
const data = await res.json()
PATCH
/projects/:id/follow_up
Turn the questions on or off, and replace them.
Details
- Send the whole list each time, with each kept question's
key. A question without akeyis new. - Up to 10 questions. A label is up to 200 characters. A
choicequestion has 2 to 10 choices. - Turning it on with no questions asks "What do you use today?".
- Ask what the founder will act on: what people use today, what they'd pay, how likely they are to use it.
PATCH /projects/:id/follow_up
curl -X PATCH https://app.hunchwire.com/projects/:id/follow_up \
-H "Authorization: Bearer $HUNCHWIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"follow_up": {"enabled": true, "questions": [{"type": "short", "label": "What do you use today?"}, {"key": "q_ab12cd34", "type": "choice", "label": "How much would you pay a month?", "choices": ["Nothing", "$5", "$20"]}]}}'
import os, requests
r = requests.patch(
"https://app.hunchwire.com/projects/:id/follow_up",
headers={"Authorization": f"Bearer {os.environ['HUNCHWIRE_TOKEN']}"},
json={"follow_up": {"enabled": True, "questions": [{"type": "short", "label": "What do you use today?"}, {"key": "q_ab12cd34", "type": "choice", "label": "How much would you pay a month?", "choices": ["Nothing", "$5", "$20"]}]}},
)
r.json()
const res = await fetch("https://app.hunchwire.com/projects/:id/follow_up", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.HUNCHWIRE_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"follow_up": {"enabled": true, "questions": [{"type": "short", "label": "What do you use today?"}, {"key": "q_ab12cd34", "type": "choice", "label": "How much would you pay a month?", "choices": ["Nothing", "$5", "$20"]}]}}),
})
const data = await res.json()
Made from skill.md, the file agents read. Add .md to any page's address for its Markdown.