1
00:00:00,000 --> 00:00:01,860
We will use n8n to review an

2
00:00:01,860 --> 00:00:04,220
AppStruct service request queue.

3
00:00:04,220 --> 00:00:08,180
The workflow reads a table, checks every supplied record, exports

4
00:00:08,180 --> 00:00:11,180
a CSV report, and can send one reviewer

5
00:00:11,180 --> 00:00:13,400
an email with counts only.

6
00:00:13,400 --> 00:00:16,880
This lesson uses six fictional requests in an isolated teaching

7
00:00:16,880 --> 00:00:21,080
table. We will make a successful run, inspect its results,

8
00:00:21,080 --> 00:00:24,180
and deliberately trigger an error so you can recognize an

9
00:00:24,180 --> 00:00:27,240
incomplete read. The source records stay unchanged.

10
00:00:27,240 --> 00:00:31,520
Start with an authorized practice table, and keep the schedule

11
00:00:31,520 --> 00:00:32,140
disabled.

12
00:00:33,349 --> 00:00:36,329
Download the live table review workflow from the guide linked

13
00:00:36,329 --> 00:00:39,729
below. In a new workflow, open the menu and choose

14
00:00:39,729 --> 00:00:44,729
Import from File. Select the downloaded JSON.

15
00:00:44,729 --> 00:00:48,409
The canvas now has a manual trigger, configuration, the

16
00:00:48,409 --> 00:00:52,029
AppStruct read, an audit, and two output branches.

17
00:00:52,029 --> 00:00:54,449
The first creates a CSV.

18
00:00:54,449 --> 00:00:57,589
The second decides whether to email a summary.

19
00:00:57,589 --> 00:01:02,149
The schedule is disabled. This public file includes no credentials,

20
00:01:02,149 --> 00:01:05,229
selected account, or saved responses.

21
00:01:05,229 --> 00:01:07,649
Read the setup notes before connecting your own source.

22
00:01:08,948 --> 00:01:12,068
The practice download contains six source objects and the field

23
00:01:12,068 --> 00:01:17,708
mapping. Our source columns are request_key, request, status,

24
00:01:17,708 --> 00:01:19,908
owner, and due_date.

25
00:01:19,908 --> 00:01:23,048
The request key is a business reference, separate from App

26
00:01:23,048 --> 00:01:28,328
Struct's own record identifier. Two rows intentionally share that reference.

27
00:01:28,328 --> 00:01:31,208
The last row has an unknown status and an impossible

28
00:01:31,208 --> 00:01:34,868
February date. Keep the due date column as text for

29
00:01:34,868 --> 00:01:38,368
this exercise. These inputs help us verify the audit;

30
00:01:38,368 --> 00:01:40,188
they are not customer records.

31
00:01:41,512 --> 00:01:45,792
Open Configure review. Enter your own project identifier and table

32
00:01:45,792 --> 00:01:50,372
name. In fields, map id to request_key, request

33
00:01:50,372 --> 00:01:54,492
to request, status to status, owner to owner, and dueDate

34
00:01:54,492 --> 00:01:57,632
to due_date. The keys on the left belong

35
00:01:57,632 --> 00:02:00,832
to the audit. The values on the right must match

36
00:02:00,832 --> 00:02:03,372
your returned source columns exactly.

37
00:02:03,372 --> 00:02:06,072
Keep the limit at two thousand, timezone at

38
00:02:06,072 --> 00:02:09,042
UTC, and notifications off.

39
00:02:09,042 --> 00:02:13,047
Set the reference date override to November twentieth, twenty twenty

40
00:02:13,047 --> 00:02:16,012
six, to reproduce this exercise.

41
00:02:16,012 --> 00:02:19,392
For later daily reviews, an empty override uses the execution

42
00:02:19,392 --> 00:02:21,991
date in the configured timezone.

43
00:02:22,691 --> 00:02:25,731
Open Read AppStruct requests and select your saved

44
00:02:25,731 --> 00:02:29,391
AppStruct credential. A new connection asks for your account

45
00:02:29,391 --> 00:02:32,431
email and password inside n8n.

46
00:02:32,431 --> 00:02:36,271
Never put those values in a configuration node, note, or

47
00:02:36,271 --> 00:02:39,971
exported workflow. We are using Record, Get Many.

48
00:02:39,971 --> 00:02:44,771
Project, table, and limit are expressions from Validate configuration, so

49
00:02:44,771 --> 00:02:47,231
keep those expressions in place.

50
00:02:47,231 --> 00:02:49,891
In Settings, Always Output Data is enabled.

51
00:02:49,891 --> 00:02:53,811
That lets an empty source continue to a summary rather

52
00:02:53,811 --> 00:02:55,371
than silently ending the branch.

53
00:02:56,620 --> 00:03:00,560
Execute the workflow manually. Open the AppStruct output and

54
00:03:00,560 --> 00:03:03,380
compare its row count with the teaching table.

55
00:03:03,380 --> 00:03:06,660
Then open Map and audit every supplied row.

56
00:03:06,660 --> 00:03:10,480
The expected result is six reviewed, four needing review, and

57
00:03:10,480 --> 00:03:15,080
two clean. One active request is overdue and unassigned.

58
00:03:15,080 --> 00:03:18,860
The completed request is not overdue under this policy, even

59
00:03:18,860 --> 00:03:21,040
though its due date is earlier.

60
00:03:21,040 --> 00:03:25,800
Both duplicate business references remain separate rows and are flagged.

61
00:03:25,800 --> 00:03:29,320
Check the records and flags as well as the totals.

62
00:03:29,320 --> 00:03:32,020
A green execution alone does not prove that your mapping

63
00:03:32,020 --> 00:03:32,700
is correct.

64
00:03:33,943 --> 00:03:37,503
Open Download review CSV and choose Download in

65
00:03:37,503 --> 00:03:40,843
its binary output. Inspect the file.

66
00:03:40,843 --> 00:03:43,883
It contains a header, one summary row, and all six

67
00:03:43,883 --> 00:03:48,623
requests. The unknown status and impossible date remain visible for

68
00:03:48,623 --> 00:03:52,263
human review. Extra source columns are excluded by the five

69
00:03:52,263 --> 00:03:56,703
field mapping. Formula like text receives a leading apostrophe in

70
00:03:56,703 --> 00:03:59,903
the report so a spreadsheet does not immediately treat it

71
00:03:59,903 --> 00:04:04,263
as a formula. This report is evidence for a reviewer.

72
00:04:04,263 --> 00:04:07,443
It does not fix records or authorize a customer message.

73
00:04:08,662 --> 00:04:11,442
For an email test, select an SMTP

74
00:04:11,442 --> 00:04:15,902
connection and set one authorized sender and reviewer.

75
00:04:15,902 --> 00:04:19,242
Change notify to true and run manually again.

76
00:04:19,242 --> 00:04:21,802
The branch sends only if at least one row needs

77
00:04:21,802 --> 00:04:25,682
review. In this lesson, the selected connection is a local

78
00:04:25,682 --> 00:04:29,422
capture server. We can inspect the captured message, but nothing

79
00:04:29,422 --> 00:04:30,722
goes to an external mailbox.

80
00:04:30,722 --> 00:04:35,402
It contains the review date and totals, without request text,

81
00:04:35,402 --> 00:04:38,762
owner names, or a CSV attachment.

82
00:04:38,762 --> 00:04:42,182
In Cloud, a loopback host points to that server, not

83
00:04:42,182 --> 00:04:45,142
to this laptop. Use your real SMTP

84
00:04:45,142 --> 00:04:46,802
provider for actual delivery.

85
00:04:48,061 --> 00:04:51,381
Now change the limit to six and execute again.

86
00:04:51,381 --> 00:04:54,781
Six returned records reach the configured limit, so the review

87
00:04:54,781 --> 00:04:57,281
stops with a completeness warning.

88
00:04:57,281 --> 00:04:59,821
It does not produce a CSV or send

89
00:04:59,821 --> 00:05:04,621
another email. This is intentional: the AppStruct operation reads

90
00:05:04,621 --> 00:05:07,501
the table and applies its limit locally.

91
00:05:07,501 --> 00:05:10,821
This workflow does not fetch additional source pages.

92
00:05:10,821 --> 00:05:14,421
A result at the limit cannot establish completeness, even when

93
00:05:14,421 --> 00:05:18,581
the true table happens to contain exactly six rows.

94
00:05:18,581 --> 00:05:22,801
Missing mapped request or status columns also stop the review.

95
00:05:22,801 --> 00:05:24,721
A source failure must remain an error.

96
00:05:25,853 --> 00:05:28,573
Restore the limit to two thousand and set notify back

97
00:05:28,573 --> 00:05:32,273
to false. Run manually once more and confirm the expected

98
00:05:32,273 --> 00:05:34,593
summary and CSV.

99
00:05:34,593 --> 00:05:37,573
Repeated runs against the same source and review date should

100
00:05:37,573 --> 00:05:40,913
give the same audit. For a different queue, adapt and

101
00:05:40,913 --> 00:05:45,213
retest status values, date policy, and field mappings.

102
00:05:45,213 --> 00:05:49,333
Review execution retention before connecting private records, because source inputs

103
00:05:49,333 --> 00:05:51,153
and outputs can remain in history.

104
00:05:52,426 --> 00:05:55,986
The supplied schedule is nine in the morning on weekdays.

105
00:05:55,986 --> 00:05:59,466
Before enabling it, match the workflow timezone to the timezone

106
00:05:59,466 --> 00:06:03,886
in Configure review. Save and publish the workflow only when

107
00:06:03,886 --> 00:06:07,946
the manual report and your authorized test email are correct.

108
00:06:07,946 --> 00:06:10,246
We leave the schedule disabled here.

109
00:06:10,246 --> 00:06:13,246
Clean and empty queues send no summary.

110
00:06:13,246 --> 00:06:18,086
Unresolved exceptions can produce the same summary on repeated runs;

111
00:06:18,086 --> 00:06:21,256
notification deduplication is not implemented.

112
00:06:21,256 --> 00:06:24,986
Keep customer messages and source updates in a separately reviewed

113
00:06:24,986 --> 00:06:25,586
workflow.

114
00:06:26,671 --> 00:06:29,031
You can now import the workflow, map a real

115
00:06:29,031 --> 00:06:32,711
AppStruct table, inspect an audit, download the report, and

116
00:06:32,711 --> 00:06:36,951
recognize an incomplete read. Use the free workflow, practice rows,

117
00:06:36,951 --> 00:06:41,291
observed CSV, and written guide in the description.

118
00:06:41,291 --> 00:06:44,731
Start with a small authorized table, compare the outputs, and

119
00:06:44,731 --> 00:06:46,671
make one verified change at a time.

120
00:06:46,671 --> 00:06:51,031
This tutorial uses synthetic narration and fictional practice data.
