You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 42742ea
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Document the reason an OTP email verification failed (#663)
* Document the OTP email verification failure reason
Adds the reason Fin records when a one-time passcode email cannot verify
a contact, on the otp_email_verification_failed event of ai_agent_event
conversation parts in the Preview API.
Co-Authored-By: Claude Code <noreply@anthropic.com>
* Add the OTP verification event to the email conversation example
Co-Authored-By: Claude Code <noreply@anthropic.com>
---------
Co-authored-by: Dave Weir <david.weir@intercom.io>
Co-authored-by: Claude Code <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: descriptions/0/api.intercom.io.yaml
+97-2Lines changed: 97 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12927,7 +12927,34 @@ paths:
12927
12927
event_details:
12928
12928
call_id: '3822007689'
12929
12929
app_package_code: null
12930
-
total_count: 5
12930
+
- type: conversation_part
12931
+
id: 6
12932
+
part_type: ai_agent_event
12933
+
body:
12934
+
created_at: 1740141870
12935
+
updated_at: 1740141870
12936
+
notified_at: 1740141870
12937
+
assigned_to:
12938
+
author:
12939
+
type: bot
12940
+
id: '278'
12941
+
name: Fin
12942
+
email: operator+abcd1234@intercom.io
12943
+
attachments: []
12944
+
external_id:
12945
+
redacted: false
12946
+
email_message_metadata: null
12947
+
state: closed
12948
+
tags: []
12949
+
event_details:
12950
+
event:
12951
+
type: otp_email_verification_failed
12952
+
value: OTP email verification failed
12953
+
data:
12954
+
otp_email_verification_failed:
12955
+
reason: no_email
12956
+
app_package_code: null
12957
+
total_count: 6
12931
12958
email conversation with history found:
12932
12959
value:
12933
12960
type: conversation
@@ -13112,7 +13139,34 @@ paths:
13112
13139
name: Jira Create Issue
13113
13140
result: success
13114
13141
app_package_code: null
13115
-
total_count: 4
13142
+
- type: conversation_part
13143
+
id: 5
13144
+
part_type: ai_agent_event
13145
+
body:
13146
+
created_at: 1740141870
13147
+
updated_at: 1740141870
13148
+
notified_at: 1740141870
13149
+
assigned_to:
13150
+
author:
13151
+
type: bot
13152
+
id: '278'
13153
+
name: Fin
13154
+
email: operator+abcd1234@intercom.io
13155
+
attachments: []
13156
+
external_id:
13157
+
redacted: false
13158
+
email_message_metadata: null
13159
+
state: closed
13160
+
tags: []
13161
+
event_details:
13162
+
event:
13163
+
type: otp_email_verification_failed
13164
+
value: OTP email verification failed
13165
+
data:
13166
+
otp_email_verification_failed:
13167
+
reason: no_email
13168
+
app_package_code: null
13169
+
total_count: 5
13116
13170
with QA evaluations:
13117
13171
summary: Response with `include_monitors=true` and `include_scorecards=true`
13118
13172
value:
@@ -37787,6 +37841,46 @@ components:
37787
37841
type: string
37788
37842
description: The id of the call the summary describes
37789
37843
example: "3822007689"
37844
+
ai_agent_event_otp_email_verification_failed:
37845
+
title: Part type - ai_agent_event (otp_email_verification_failed)
37846
+
type: object
37847
+
description: Contains the reason Fin could not verify a contact by one-time passcode email, for conversation part type <code>ai_agent_event</code> when the event type is <code>otp_email_verification_failed</code>. Other <code>ai_agent_event</code> event types are not described here.
37848
+
properties:
37849
+
event:
37850
+
type: object
37851
+
description: The event the part records
37852
+
example:
37853
+
type: "otp_email_verification_failed"
37854
+
value: "OTP email verification failed"
37855
+
data:
37856
+
otp_email_verification_failed:
37857
+
reason: "no_email"
37858
+
properties:
37859
+
type:
37860
+
type: string
37861
+
description: The event type
37862
+
example: "otp_email_verification_failed"
37863
+
value:
37864
+
type: string
37865
+
description: A readable label for the event
37866
+
example: "OTP email verification failed"
37867
+
data:
37868
+
type: object
37869
+
description: Data recorded with the event. Empty when the failure was recorded without a reason.
37870
+
example:
37871
+
otp_email_verification_failed:
37872
+
reason: "no_email"
37873
+
properties:
37874
+
otp_email_verification_failed:
37875
+
type: object
37876
+
description: Details of the failed verification
37877
+
example:
37878
+
reason: "no_email"
37879
+
properties:
37880
+
reason:
37881
+
type: string
37882
+
description: Why the one-time passcode email could not verify the contact. Treat this as a free-form string and fall back to <code>value</code> for a reason you do not recognise. <code>no_email</code> means the contact has no email address on record.
0 commit comments