Draft a follow-up
curl --request POST \
--url https://app.introlink.ai/v1/asks/{id}/followup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "nudge",
"save": true
}
'import requests
url = "https://app.introlink.ai/v1/asks/{id}/followup"
payload = {
"kind": "nudge",
"save": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'nudge', save: true})
};
fetch('https://app.introlink.ai/v1/asks/{id}/followup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.introlink.ai/v1/asks/{id}/followup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'nudge',
'save' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/asks/{id}/followup"
payload := strings.NewReader("{\n \"kind\": \"nudge\",\n \"save\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.introlink.ai/v1/asks/{id}/followup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"nudge\",\n \"save\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/asks/{id}/followup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"nudge\",\n \"save\": true\n}"
response = http.request(request)
puts response.read_body{
"object": "followup_draft",
"saved": true,
"kind": "nudge",
"ask": {
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
},
"subject": "Re: Intro to Priya Raman?",
"body": "Hi Daniel,\n\nFollowing up on my note below about Priya Raman. Happy to send a shorter version if that's easier to forward.\n\nThanks,\nAsha",
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"gmail_drafts_url": "https://mail.google.com/mail/#drafts",
"problem": null,
"text": "Saved in your Gmail drafts: a nudge to Daniel Reyes, as a reply in the ask's thread. Nothing was sent."
}{
"object": "followup_draft",
"saved": true,
"kind": "nudge",
"ask": {
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
},
"subject": "Re: Intro to Priya Raman?",
"body": "Hi Daniel,\n\nFollowing up on my note below about Priya Raman. Happy to send a shorter version if that's easier to forward.\n\nThanks,\nAsha",
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"gmail_drafts_url": "https://mail.google.com/mail/#drafts",
"problem": null,
"text": "Saved in your Gmail drafts: a nudge to Daniel Reyes, as a reply in the ask's thread. Nothing was sent."
}{
"error": {
"type": "invalid_request",
"message": "The body is not valid JSON."
}
}{
"error": {
"type": "invalid_key",
"message": "That API key is not valid. It may have been revoked: create a new one in IntroLink, under Settings, API."
}
}{
"error": {
"type": "plan_required",
"message": "The API comes with Individual, Team and Business, and this workspace is on the Free trial. Pick a plan under Settings, Billing to use it."
}
}{
"error": {
"type": "not_found",
"message": "No ask with that id for this key: not theirs, not on their Asks page, or about or through someone they keep private."
}
}{
"error": {
"type": "conflict",
"message": "Nothing to follow up on yet (a draft), the ask is closed (reopen it first), or IntroLink has no thread to reply in."
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "rate_limited",
"message": "Too many requests with this key. Wait a minute and try again."
}
}{
"error": {
"type": "server_error",
"message": "IntroLink could not answer that just now. Try again in a minute."
}
}Asks
Draft a follow-up
Drafts a follow-up to the connector of a sent ask, as the Asks page’s Nudge and Thank buttons do: a nudge when they haven’t answered, a thank-you once the intro happened. With save: true it is saved to the creator’s Gmail drafts as a reply in the ask’s own thread, to whoever the ask went to; saving again rewrites the same draft. Nothing is ever sent, and the connector’s address goes into the Gmail draft, never into the answer.
POST
/
asks
/
{id}
/
followup
Draft a follow-up
curl --request POST \
--url https://app.introlink.ai/v1/asks/{id}/followup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "nudge",
"save": true
}
'import requests
url = "https://app.introlink.ai/v1/asks/{id}/followup"
payload = {
"kind": "nudge",
"save": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'nudge', save: true})
};
fetch('https://app.introlink.ai/v1/asks/{id}/followup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.introlink.ai/v1/asks/{id}/followup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'nudge',
'save' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.introlink.ai/v1/asks/{id}/followup"
payload := strings.NewReader("{\n \"kind\": \"nudge\",\n \"save\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.introlink.ai/v1/asks/{id}/followup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"nudge\",\n \"save\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.introlink.ai/v1/asks/{id}/followup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"nudge\",\n \"save\": true\n}"
response = http.request(request)
puts response.read_body{
"object": "followup_draft",
"saved": true,
"kind": "nudge",
"ask": {
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
},
"subject": "Re: Intro to Priya Raman?",
"body": "Hi Daniel,\n\nFollowing up on my note below about Priya Raman. Happy to send a shorter version if that's easier to forward.\n\nThanks,\nAsha",
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"gmail_drafts_url": "https://mail.google.com/mail/#drafts",
"problem": null,
"text": "Saved in your Gmail drafts: a nudge to Daniel Reyes, as a reply in the ask's thread. Nothing was sent."
}{
"object": "followup_draft",
"saved": true,
"kind": "nudge",
"ask": {
"id": "1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"person": {
"id": "p_Qm3vT8yLkR2nWx7HbJ4dPa",
"name": "Priya Raman",
"role": "VP Finance, Kestrel Logistics"
},
"via": {
"id": "p_8TzKq2LmW9xRv4NbHc7YsE",
"name": "Daniel Reyes"
},
"stage": "sent",
"stage_label": "Sent",
"headline": "No reply",
"step": 1,
"bucket": "waiting",
"waiting_on": "you",
"reminder_due": true,
"closed_reason": null,
"next_step": {
"label": "Send a nudge",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13&followup=nudge"
},
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"url": "https://app.introlink.ai/asks?ask=1b6f3c2a-9d4e-4f1a-8b7c-2e5d6a9f0c13",
"text": "Priya Raman, asked Daniel Reyes: No reply. Sent 6 days ago. Waiting on you: a nudge is due."
},
"subject": "Re: Intro to Priya Raman?",
"body": "Hi Daniel,\n\nFollowing up on my note below about Priya Raman. Happy to send a shorter version if that's easier to forward.\n\nThanks,\nAsha",
"thread_url": "https://mail.google.com/mail/u/0/#all/18c2f4a9b7e6d5c1",
"gmail_drafts_url": "https://mail.google.com/mail/#drafts",
"problem": null,
"text": "Saved in your Gmail drafts: a nudge to Daniel Reyes, as a reply in the ask's thread. Nothing was sent."
}{
"error": {
"type": "invalid_request",
"message": "The body is not valid JSON."
}
}{
"error": {
"type": "invalid_key",
"message": "That API key is not valid. It may have been revoked: create a new one in IntroLink, under Settings, API."
}
}{
"error": {
"type": "plan_required",
"message": "The API comes with Individual, Team and Business, and this workspace is on the Free trial. Pick a plan under Settings, Billing to use it."
}
}{
"error": {
"type": "not_found",
"message": "No ask with that id for this key: not theirs, not on their Asks page, or about or through someone they keep private."
}
}{
"error": {
"type": "conflict",
"message": "Nothing to follow up on yet (a draft), the ask is closed (reopen it first), or IntroLink has no thread to reply in."
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "rate_limited",
"message": "Too many requests with this key. Wait a minute and try again."
}
}{
"error": {
"type": "server_error",
"message": "IntroLink could not answer that just now. Try again in a minute."
}
}Authorizations
Body
application/json
The note in the creator's own words, a blank line between paragraphs. Leave it out for IntroLink's draft.
Maximum string length:
4000Response
The follow-up, not saved.