@@ -23,76 +23,59 @@ applied to payment processing and financial data management.
23
23
24
24
## Prerequisites
25
25
26
- - A [ Hypermode Pro workspace] ( https://hypermode.com/login )
26
+ - A [ Hypermode Agents workspace] ( https://hypermode.com/login )
27
27
- A [ Stripe account] ( https://stripe.com ) (test mode is perfect for this
28
28
tutorial)
29
29
- Access to your operations tools (for example, internal knowledge base) - we'll
30
30
use Notion for this tutorial
31
31
- Basic familiarity with modern chat interfaces (no coding required)
32
32
- Estimated time: 15 minutes
33
33
34
- ## Step 1: Sign in and open your workspace
34
+ ## Sign in to Hypermode Agents
35
35
36
- Head to [ hypermode.com] ( https://hypermode.com ) , sign in, and create your first
37
- workspace if you haven't already.
36
+ Head to [ hypermode.com] ( https://hypermode.com ) and sign in to Hypermode Agents.
38
37
39
- ## Step 2: Open Hypermode Concierge + Agent builder
38
+ ## Creating your Stripe agent
40
39
41
- In the left sidebar, click the [ threads ] ( /agents/work ) icon.
40
+ ![ Create new agent ] ( /images/connections/stripe/create-new-agent-button.png )
42
41
43
- Select the "Create new" option and select the
44
- [ Hypermode Concierge + Agent builder] ( /agents/create-agent#build-a-new-agent-with-concierge ) .
45
- This is Hypermode's AI-powered agent that transforms natural language
46
- descriptions into fully functional agents that can work with specialized tools
47
- like Stripe.
42
+ ### Create a new agent
48
43
49
- ![ Create new agent ] ( /images/tutorials/first-operations-agent/ create- new.png )
44
+ From the Hypermode Agents console, create a new agent:
50
45
51
- ## Step 3: Describe the job
46
+ 1 . Click the ** Create new Agent** button from the agents view or select _ Create
47
+ new >> Create new agent_ from the threads view.
48
+ 2 . Enter a description of your agent
52
49
53
- In plain English, type something like :
50
+ We'll use the following description for our financial operations agent :
54
51
55
52
``` text
56
- Let's build a financial operations agent that can process payments, handle refunds,
57
- create invoices, and analyze financial data using Stripe. It should be able to
58
- work with our internal policies from Notion to make decisions about refunds.
53
+ Let's build a financial operations agent that can process payments, handle
54
+ refunds, create invoices, and analyze financial data using Stripe.
59
55
```
60
56
61
- Concierge will ask clarifying questions about your specific operations needs,
62
- draft an initial system prompt, and suggest the Stripe connection along with any
63
- other tools you mention.
57
+ ![ Create new agent modal] ( /images/tutorials/first-operations-agent/operations-agent-description.png )
64
58
65
- ![ Create new agent with Concierge ] ( /images/tutorials/first-operations-agent/create-new-concierge.png )
59
+ ### Agent profile
66
60
67
- ## Step 4: Refine and create your agent
61
+ You can view and edit agent details in the agent profile. The agent profile
62
+ includes the agent name, description, and instructions. You can also view your
63
+ threads with this agent as well as manage the agent's tasks and knowledge.
68
64
69
- Follow the Concierge agent's guided steps to fully specify your agent's
70
- operational scope. The Concierge will help you define what financial operations
71
- your agent should handle, from simple payment processing to complex refund
72
- policy decisions.
65
+ ![ Agent profile] ( /images/tutorials/first-operations-agent/operations-agent-profile-view.png )
73
66
74
- Once you've fully specified the details, your new operations agent is created
75
- and ready to connect to Stripe.
67
+ ### Agent instructions
76
68
77
- ![ Hypermode Create Agent] ( /images/tutorials/first-operations-agent/hypermode-create-agent.png )
69
+ You can edit the agent instructions in the agent profile. Editing the agent's
70
+ instructions is useful for personalizing your agent and customizing how your
71
+ agent will work with you and your team.
78
72
79
- Your agent will now appear in the Agents page, ready to be configured with
80
- Stripe access.
73
+ ![ Create agent modal] ( /images/tutorials/first-operations-agent/edit-operations-agent-instructions.png )
81
74
82
- ![ Hypermode Agent page ] ( /images/tutorials/first-operations- agent/hypermode-agent-page.png )
75
+ ## Refine your agent instructions
83
76
84
- ## Step 5: Review your agent details
85
-
86
- You can see the details of your agent, including the system prompt that
87
- Concierge created for financial operations.
88
-
89
- ![ Hypermode Agent details] ( /images/tutorials/first-operations-agent/hypermode-agent-details.png )
90
-
91
- ## Step 6: Refine your agent instructions
92
-
93
- You can review the Instructions. Hypermode Agents behave as the "system prompt"
94
- tells them. Edit the prompt by pasting the template below into the
95
- "Instructions" field:
77
+ Optionally, you can edit the agent instructions by pasting the template below
78
+ into the "Instructions" field:
96
79
97
80
``` text
98
81
## Description
@@ -180,18 +163,26 @@ Example Output Structure:
180
163
Always ask if the user needs additional financial reports, policy clarifications, or transaction details.
181
164
```
182
165
183
- Press ** Save** .
184
-
185
- ## Step 7: Add the Stripe connection
166
+ ## Add the Stripe connection
186
167
187
168
Let's configure the Stripe connection so your agent can access your payment
188
- processing capabilities. Select the ** "Add connection"** button on the
189
- [ Connections] ( /agents/connections ) tab.
169
+ processing capabilities.
170
+
171
+ To add the Stripe connection:
172
+
173
+ 1 . Select the Connection tab
174
+ 2 . Select "Connect" next to Stripe in the list of available connections
175
+
176
+ ![ Add Stripe connection] ( /images/connections/stripe/stripe-add-connection.png )
190
177
191
- ![ Connect your agent ] ( /images/tutorials/first-operations-agent/add-connection.png )
178
+ ### Configure credentials
192
179
193
- Search for and select ** Stripe** from the available connections. You'll need to
194
- authorize with your Stripe account credentials.
180
+ Enter your Stripe credentials:
181
+
182
+ - ** API Key** : Your Stripe secret key (starts with ` sk_test_ ` for test mode or
183
+ ` sk_live_ ` for live mode)
184
+
185
+ ![ Stripe connection modal] ( /images/connections/stripe/stripe-configure-connection.png )
195
186
196
187
For this tutorial, we'll use Stripe's test mode. When prompted for your API key,
197
188
use your test key (starts with ` sk_test_ ` ).
@@ -204,19 +195,27 @@ use your test key (starts with `sk_test_`).
204
195
for connection details.
205
196
</Warning >
206
197
198
+ ### Test basic connectivity
199
+
200
+ Start a new thread and test the connection with a simple query:
201
+
202
+ ``` text
203
+ Can you check my Stripe account balance?
204
+ ```
205
+
206
+ You should see a Stripe tool call in the chat history, confirming the connection
207
+ works:
208
+
209
+ ![ Test connection] ( /images/connections/stripe/stripe-test-connection.png )
210
+
207
211
You can also add additional connections for your operations workflow:
208
212
209
213
- ** Knowledge base** (Notion or Google Docs) for _ refund policies and
210
214
procedures_
211
215
- ** Internal communications** (Slack, Teams) for _ notifications and approvals_
212
216
- ** Accounting tools** (QuickBooks, Xero) for _ financial record keeping_
213
217
214
- ![ Hypermode Connections] ( /images/tutorials/first-operations-agent/hypermode-connections.png )
215
-
216
- ## Step 8: Test with payment operations
217
-
218
- Back in threads, let's test your operations agent with some real scenarios. Try
219
- these example requests:
218
+ ## Test with payment operations
220
219
221
220
### Create a test payment
222
221
@@ -259,7 +258,7 @@ company guidelines.
259
258
260
259
![ Refund processing] ( /images/tutorials/first-operations-agent/refund-processing.png )
261
260
262
- ## Step 9: Set up your Stripe test environment
261
+ ## Set up your Stripe test environment
263
262
264
263
To fully test your operations agent, let's populate your Stripe test environment
265
264
with sample data. Ask your agent:
@@ -276,6 +275,40 @@ Your agent will create realistic test data including:
276
275
- Sample successful and failed transactions
277
276
- Basic subscription plans
278
277
278
+ ## Comprehensive financial reporting
279
+
280
+ Our agent can generate a comprehensive financial report and email it to our
281
+ stakeholders. We'll use the following instructions to generate the report:
282
+
283
+ ``` text
284
+ Can you generate a Core Financial Monthly Report? Include:
285
+
286
+ - Total gross revenue (before fees/refunds)
287
+ - Net revenue (after Stripe fees, refunds, and disputes)
288
+ - Number of payments processed
289
+ - Number of refunds processed
290
+ - Number of chargebacks processed
291
+ - Number of disputes processed
292
+ - Average order value (AOV)
293
+ - Customer lifetime value (LTV)
294
+ - Churn rate
295
+ - MRR
296
+ ```
297
+
298
+ After fetching the relevant data from Stripe, our agent will generate a report:
299
+
300
+ ![ Financial report] ( /images/tutorials/first-operations-agent/operations-agent-financial-report.png )
301
+
302
+ We can then ask our agent to email the report to our stakeholders. We'll first
303
+ need to add the Gmail connection to our agent.
304
+
305
+ ![ email financial report] ( /images/tutorials/first-operations-agent/email-draft-toolcall.png )
306
+
307
+ If we check the email draft, we'll see that our agent has created a draft email
308
+ with the report attached.
309
+
310
+ ![ email financial report] ( /images/tutorials/first-operations-agent/email-draft.png )
311
+
279
312
## What's next?
280
313
281
314
You can expand what your operations agent can do for you. Edit the
0 commit comments