{"logix":{"id":"677c4ee3-4933-492c-8ad3-49f77cbde5cf", "user_defined_name":"ChristmasCards", "settings":{"exposed_paths":["0c0f637d-2a01-4aac-a14e-1736d05172a5.apiUrl", "f501e70a-23eb-461e-8a74-ecf10c53bd61.apiUrl"], "collapsed_items":["b19435e3-e7aa-47fc-bf2e-19f245b094e2.systemOutputParameters", "9c7b199e-c4ac-485c-a1b4-4223464e11fa", "78fbbd4f-9604-418e-b3d4-b3290cc69c0b", "8279b91f-6ca6-435f-ae0b-a347c66d2c45", "525dcaca-f325-41f5-9633-2ccff429cfeb", "9f9f2e88-8446-4582-948d-5fd36825101e", "b19435e3-e7aa-47fc-bf2e-19f245b094e2.systemInputParameters", "b19435e3-e7aa-47fc-bf2e-19f245b094e2.customOutputParameters", "56995345-63fa-4710-a7c6-38a229aef91b", "1e5b451a-202e-4a86-978a-a91136bf2c85", "10177176-ed23-46db-ad39-4287c55a7cfe", "afb10c9c-741b-40b0-8286-6e07a3343d64", "ff922b27-4e6f-4f9d-a131-1e5ec48e5361", "b19435e3-e7aa-47fc-bf2e-19f245b094e2", "5970b465-bdfb-496b-bb8d-15ca9b72ac51", "4b136d8d-14b5-4c58-a46a-b108032538f4.systemInputParameters", "0571c518-7b0c-4e3d-833b-a2fbc65afb38", "d1089757-5623-42a9-aeb0-1c34978d8b06", "f1c6eb03-7679-4caa-9a6b-e9d59e073da2", "97ff2e26-20fa-43ed-b167-ae49ea90ac74", "bdd88877-7483-45cf-b71e-330e3bec6200", "4b136d8d-14b5-4c58-a46a-b108032538f4.internalParameters"], "is_soft_errors":true, "visible_parameters":["public"]}, "public":[{"api_receiver_function":{"id":"9f9f2e88-8446-4582-948d-5fd36825101e", "user_defined_name":"ChristmasCardFormGET", "system_input_parameters":[{"basic_unicode_text":{"id":"bbec8e4c-1b11-42c7-afed-c512e74e01cf", "user_defined_name":"URL", "user_comment":"The URL that was used to reach this function"}}, {"basic_unicode_text":{"id":"e805d169-5ed0-4698-8c81-dea765b405a4", "user_defined_name":"Method", "user_comment":"The HTTP method that was used to call this function"}}, {"basic_unicode_text":{"id":"fd3ed843-3f80-4a96-ba4d-5b3979d43a36", "user_defined_name":"Source Address", "user_comment":"The IP address of the client that called this function"}}, {"data_structure":{"id":"2881509a-8942-4d34-b41b-e23aecb17411", "user_defined_name":"Headers", "user_comment":"The headers that were sent with the request"}}, {"data_structure":{"id":"5efc518b-522d-4a51-bdf7-525988027ce9", "user_defined_name":"Cookies", "user_comment":"The cookies that were sent with the request"}}], "internal_parameters":[{"basic_unicode_text":{"id":"4316e8a5-fb5a-43f5-96ad-95e9311d1a19", "user_defined_name":"html", "value":{"value":"\n\n\n I want a Christmas Card\n \n \n\n \n \n \n \n\n\n \n\n\n
\n

Request a Christmas Card

\n

Put your details in the form below

\n
\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n \n \n
\n
\n\n\n"}}}], "custom_output_parameters":[{"basic_unicode_text":{"id":"4e8f0fa1-6261-46c2-b552-8e896eabe867", "user_defined_name":"body", "value":{}}}], "system_output_parameters":[{"basic_number":{"id":"3eb23f28-0873-4b7d-91d9-ed65e3d6aa52", "user_defined_name":"Response Status Code", "user_comment":"The HTTP status code to return to the caller. Defaults to 200.", "value":{"value":"200"}}}, {"data_structure":{"id":"4327a062-61db-4977-a722-9bb3c3c99f52", "user_defined_name":"Response Headers", "user_comment":"The headers to return to the caller - these must be populated with an object containing named header values using a `set data structure` process."}}, {"basic_unicode_text":{"id":"2e76f4e7-a603-433d-8746-6f19dd4745df", "user_defined_name":"Response Content Type", "user_comment":"The content type header and encoding method to use in a HTTP response", "value":{"value":"text/html"}}}], "processes":[{"set_unicode_text":{"id":"b00dea9a-68ef-40a5-b847-e67817b1544c", "from":{"type_select_unicode_text":{"type_select_reference":{"reference":{"id":"6d000944-895a-44cc-b416-510e27cf3d18", "function_reference":{"basic_unicode_text":{"id":"e19283ef-0b4d-4adc-8398-e1cc29f451d6", "value":{"value":"9f9f2e88-8446-4582-948d-5fd36825101e"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"f45e49ed-133a-4a99-84e0-b7b211f56732", "value":{"value":"4316e8a5-fb5a-43f5-96ad-95e9311d1a19"}}}}}}}, "to":{"reference":{"id":"a4bbe70e-5616-4122-bd6f-9c1cada6d633", "function_reference":{"basic_unicode_text":{"id":"1403f31d-be41-4e9b-b6f5-9d7703f3ba42", "value":{"value":"9f9f2e88-8446-4582-948d-5fd36825101e"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"4be20b18-eb17-4a58-a7cb-efb4f4cf6205", "value":{"value":"4e8f0fa1-6261-46c2-b552-8e896eabe867"}}}}}}}]}}, {"api_receiver_function":{"id":"b19435e3-e7aa-47fc-bf2e-19f245b094e2", "user_defined_name":"ChristmasCardFormPost", "system_input_parameters":[{"basic_unicode_text":{"id":"bbb1e1e9-444d-49eb-b259-d0d92aff44f6", "user_defined_name":"URL", "user_comment":"The URL that was used to reach this function"}}, {"basic_unicode_text":{"id":"f0b3cbad-fc68-46f4-b641-07b3e88c9403", "user_defined_name":"Method", "user_comment":"The HTTP method that was used to call this function"}}, {"basic_unicode_text":{"id":"de711327-8272-4ad9-b25b-9e80a610507e", "user_defined_name":"Source Address", "user_comment":"The IP address of the client that called this function"}}, {"data_structure":{"id":"08d1de5a-af01-445b-ac74-348743d06e08", "user_defined_name":"Headers", "user_comment":"The headers that were sent with the request"}}, {"data_structure":{"id":"2adf4b08-d7ab-4e41-801c-4317018c27a7", "user_defined_name":"Cookies", "user_comment":"The cookies that were sent with the request"}}], "custom_input_parameters":[{"data_structure":{"id":"d08a5863-81c6-4f27-9be1-b3dafa3c9089", "user_defined_name":"data"}}], "internal_parameters":[{"data_structure":{"id":"23542e36-ad47-425a-b06d-606ce55d5e0b", "user_defined_name":"Tmp", "value":{"ds_object":{"id":"6f5fa639-c964-48f0-9b50-f67b5034297f", "user_defined_name":"Record", "properties":[{"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"32582a4f-73e1-4023-bb39-27f641f6821a", "user_defined_name":"name", "value":{}}}}}}, {"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"e950768a-a83f-4aef-abe1-e895cadf23a5", "user_defined_name":"addr_line1", "value":{}}}}}}, {"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"5bf80123-f6ad-475d-9c5b-5d95f563a451", "user_defined_name":"addr_line2", "value":{}}}}}}, {"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"79f997e2-5bb0-41a4-afc4-f339031c4351", "user_defined_name":"addr_line3", "value":{}}}}}}, {"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"5ca109cc-f192-4a8c-ba09-d3ad603909cc", "user_defined_name":"addr_city", "value":{}}}}}}, {"type_select_any_data_type":{"type_select_semi_secret":{"type_select_unicode_text":{"basic_unicode_text":{"id":"53a972e6-931b-4579-a612-2c5f54937bed", "user_defined_name":"addr_postcode", "value":{}}}}}}]}}}}], "system_output_parameters":[{"basic_number":{"id":"b65078ba-a96c-4755-a233-ef9b1a4af051", "user_defined_name":"Response Status Code", "user_comment":"The HTTP status code to return to the caller. Defaults to 200.", "value":{"value":"200"}}}, {"data_structure":{"id":"2bdd5527-36c8-4f69-acb2-a7ce9cea73e1", "user_defined_name":"Response Headers", "user_comment":"The headers to return to the caller - these must be populated with an object containing named header values using a `set data structure` process."}}, {"basic_unicode_text":{"id":"46804cd2-2b5d-4007-8181-bb7914db1e16", "user_defined_name":"Response Content Type", "user_comment":"The content type header and encoding method to use in a HTTP response", "value":{"value":"application/json"}}}], "processes":[{"set_unicode_text":{"id":"56995345-63fa-4710-a7c6-38a229aef91b", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"4aaecd5d-542e-4eb3-9994-407c44494e7b", "data_structure":{"type_select_reference":{"reference":{"id":"9738ed9d-6be1-43bf-b4d0-2222395dcded", "function_reference":{"basic_unicode_text":{"id":"03c08ac5-7e3c-4311-8e46-4c70b8a2bdef", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"fd355f13-246f-44c2-b536-aa1fe0c24f40", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"494edeb0-b6e0-4321-adfd-13a49856aa5d", "value":{"value":"name"}}}}}}}, "to":{"data_structure_node_reference":{"id":"2c872579-72a6-4afd-a5d8-a973b1a60e6a", "data_structure":{"type_select_reference":{"reference":{"id":"c3c807af-8584-4e89-a98a-eebd131f2b03", "function_reference":{"basic_unicode_text":{"id":"6e5fcde3-e508-415a-8a6f-15f00152578b", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"110a817d-5045-4ccf-a4da-a837fc3f8744", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"25d14674-acf6-48fe-be6d-a19541b5af64", "value":{"value":"name"}}}}}}}, {"set_unicode_text":{"id":"1e5b451a-202e-4a86-978a-a91136bf2c85", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"7ce16ee7-cbb8-470f-ad57-b65b288adebe", "data_structure":{"type_select_reference":{"reference":{"id":"1b37801d-2a77-4f97-927b-08f7e50d6073", "function_reference":{"basic_unicode_text":{"id":"540c0cc4-962b-425c-a0a6-7b7681eb4b38", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"3eef435a-c5b8-41b7-81d6-b658993ce4e8", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"32d0963e-940d-47c8-8f88-ef08122c39a5", "value":{"value":"address1"}}}}}}}, "to":{"data_structure_node_reference":{"id":"ab923328-677a-4c98-b050-b494b452a518", "data_structure":{"type_select_reference":{"reference":{"id":"113f8402-b6e6-421e-9fd2-2103974ca9a6", "function_reference":{"basic_unicode_text":{"id":"f5efc750-ade7-4a66-9d0c-8845439f3f5a", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"816f70cf-0251-4f89-9bdf-5133fdbc3515", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"00eb191b-beef-44bd-8889-56b7a5709083", "value":{"value":"addr_line1"}}}}}}}, {"set_unicode_text":{"id":"10177176-ed23-46db-ad39-4287c55a7cfe", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"57234928-8379-4205-8a8d-92f023096586", "data_structure":{"type_select_reference":{"reference":{"id":"629d11cf-92cc-47fb-b808-c2b57c4d97ca", "function_reference":{"basic_unicode_text":{"id":"b99a2cd1-581c-4a8d-95f2-ea4de0f83673", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"f398b9e7-98d7-41d4-9ee3-0d37c99131c0", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"b7926a40-cdc3-4186-bd48-bc6fa6f5d90f", "value":{"value":"address2"}}}}}}}, "to":{"data_structure_node_reference":{"id":"b51ba659-b936-4c02-87f9-be37603579d2", "data_structure":{"type_select_reference":{"reference":{"id":"128c9271-1f0a-4639-a904-79047bf48dbd", "function_reference":{"basic_unicode_text":{"id":"c0e5ee3c-f1d5-4f8a-b423-1161b63c98a0", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"3114e325-2662-4b07-b08b-d3df774aaa68", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"96b48ad4-228a-4f0e-9106-cf4a55c9f404", "value":{"value":"addr_line2"}}}}}}}, {"set_unicode_text":{"id":"afb10c9c-741b-40b0-8286-6e07a3343d64", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"37748cf9-df31-4974-8395-7687bedf88dd", "data_structure":{"type_select_reference":{"reference":{"id":"4ff3ed18-b950-491c-8fef-a4bc5402b536", "function_reference":{"basic_unicode_text":{"id":"83f54fdf-4694-44ec-81fc-db157058e601", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"d1c071bc-2438-4f81-ac21-c7d543e582c5", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"01e60dcf-1d30-485f-9a28-ba20fca6ee0b", "value":{"value":"address3"}}}}}}}, "to":{"data_structure_node_reference":{"id":"522cd92a-2005-421c-91e0-13b68f125c42", "data_structure":{"type_select_reference":{"reference":{"id":"e3d26fb1-7c92-475d-97ea-63e8bc71be52", "function_reference":{"basic_unicode_text":{"id":"9fb7929d-2935-4e23-aefd-7409236f1239", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"3b0a3846-abbd-4d1f-9755-eb447ad3e5f3", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"19f6b9ac-abd5-4b97-a772-f13860c3041f", "value":{"value":"addr_line3"}}}}}}}, {"set_unicode_text":{"id":"ff922b27-4e6f-4f9d-a131-1e5ec48e5361", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"be001ee9-8738-47f8-9109-4213d5cb5d6c", "data_structure":{"type_select_reference":{"reference":{"id":"d6dc8968-f46c-46c1-a7ea-ca02e35b0bcf", "function_reference":{"basic_unicode_text":{"id":"de9d4da2-020d-4090-8915-df877edafc3b", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"7c8da6b5-165a-4cf1-a823-3ccb4b21b7bc", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"f540f407-3d85-466a-82ec-acdc5b16cd67", "value":{"value":"city"}}}}}}}, "to":{"data_structure_node_reference":{"id":"0e6d6604-53ea-438c-a811-a3df1e66bf1f", "data_structure":{"type_select_reference":{"reference":{"id":"cf0fde9f-4bbd-4bf3-9b54-e9423293f00a", "function_reference":{"basic_unicode_text":{"id":"dca32359-41da-4ac5-9e91-94394681dd33", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"743d3321-13da-495e-949d-d73f52c8fffb", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"8481db6e-86b5-4287-b759-b77d6565434f", "value":{"value":"addr_city"}}}}}}}, {"set_unicode_text":{"id":"dc56062f-3fe4-4d47-bee5-a34d487546f2", "from":{"type_select_unicode_text":{"type_select_reference":{"data_structure_node_reference":{"id":"d6d3a4a6-ca69-42dc-8d30-67f7cfff0241", "data_structure":{"type_select_reference":{"reference":{"id":"987326de-605c-42c0-94fe-a6bf22ff9bc1", "function_reference":{"basic_unicode_text":{"id":"c98803a1-7aa3-4ae9-b049-430dff621092", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"53f80840-6390-4c4a-99d6-9c6851cac446", "value":{"value":"d08a5863-81c6-4f27-9be1-b3dafa3c9089"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"6d4c40cb-c7dc-4ed0-af33-a137d317057b", "value":{"value":"postcode"}}}}}}}, "to":{"data_structure_node_reference":{"id":"95a83d05-cee0-460a-9d0d-adf9fd4aa95c", "data_structure":{"type_select_reference":{"reference":{"id":"0a86fca6-157b-4a5d-ad21-39932debc71d", "function_reference":{"basic_unicode_text":{"id":"743bf973-4b89-4d16-a5cd-3695b6f3e3db", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"cf3e51ab-a076-481d-b465-a9096f1d9800", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"7b03bac9-ff9d-4b26-8a53-cfde25630eda", "value":{"value":"addr_postcode"}}}}}}}, {"supabase_call":{"id":"0c0f637d-2a01-4aac-a14e-1736d05172a5", "user_comment":"⬅️ ℹ️ To handle the response from this block try wrapping it in a `Set Data Structure` block. This will allow you to fill a data structure with the response.", "api_url":{"type_select_unicode_text":{"get_env_variable":{"id":"d5b44f5e-a0c4-4adb-b8e4-240ec4ed44ef", "var_name":{"basic_unicode_text":{"id":"05c10cb0-1303-4567-af7e-b47f572f24bf", "value":{"value":"SUPA_URL"}}}}}}, "api_key":{"secret":{"id":"40e8082c-089e-42ab-ba76-ee6330cbdb4d", "secret_name":{"basic_unicode_text":{"id":"12613d04-3bc7-489b-a630-59e48b641c82", "value":{"value":"SupabaseSecret"}}}}}, "table_name":{"type_select_unicode_text":{"basic_unicode_text":{"id":"c28f1152-9754-4d72-872e-40360acabc03", "value":{"value":"ChristmasCards"}}}}, "method":{"type_select_unicode_text":{"basic_unicode_text":{"id":"a6e907e6-7ae6-4fcb-a82c-9e4e6bce8293", "value":{"value":"create"}}}}, "payload_content":{"type_select_data_structure_process":{"type_select_data_structure":{"type_select_reference":{"reference":{"id":"585e867b-ce54-49ad-bc7e-edf08630146b", "function_reference":{"basic_unicode_text":{"id":"7a01b630-8b7a-458f-babd-a84093fa7644", "value":{"value":"b19435e3-e7aa-47fc-bf2e-19f245b094e2"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"bfec5682-b2fb-441f-a764-7a1bd0032a4b", "value":{"value":"23542e36-ad47-425a-b06d-606ce55d5e0b"}}}}}}}}, "show_advanced":{"basic_boolean":{"id":"284c4740-f360-47fa-9fb0-37ad0ce56f33", "value":{"value":true}}}, "database_connection_config_name":{"type_select_unicode_text":{"basic_unicode_text":{"id":"3d7bb4e2-72f9-49a4-a5a5-5ce3fa2a7641", "value":{"value":"custom"}}}}}}]}}, {"standard_function":{"id":"5970b465-bdfb-496b-bb8d-15ca9b72ac51", "user_defined_name":"DoMailMerge", "custom_input_parameters":[{"basic_unicode_text":{"id":"38a04739-a1f1-41e6-83c4-ed9c7fd58acb", "user_defined_name":"json_address_data", "value":{}}}], "custom_output_parameters":[{"basic_unicode_text":{"id":"cb0164d7-3e48-43db-9acd-f5806aac6aa3", "user_defined_name":"b64PDF", "value":{}}}], "internal_parameters":[{"basic_unicode_text":{"id":"a7657bda-c78f-4947-b095-c3ef4dee62ac", "user_defined_name":"JSON_Data", "value":{"value":"{\"addresses\":[\n{\"name\":\"John Doe\", \"addr_line1\": \"2 Main Street\", \"addr_line2\": \"Apt 3\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Doe\", \"addr_line1\": \"3 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"John Smith\", \"addr_line1\": \"4 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Smith\", \"addr_line1\": \"5 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"John Doe\", \"addr_line1\": \"6 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Doe\", \"addr_line1\": \"7 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"John Smith\", \"addr_line1\": \"8 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Smith\", \"addr_line1\": \"9 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"John Doe\", \"addr_line1\": \"10 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Doe\", \"addr_line1\": \"11 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"John Smith\", \"addr_line1\": \"12 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"},\n{\"name\":\"Jane Smith\", \"addr_line1\": \"13 Main Street\", \"addr_line2\": \"\", \"addr_line3\": \"\", \"addr_city\": \"Anytown\", \"addr_postcode\": \"NY\"}\n]}"}}}, {"data_structure":{"id":"e39e5ddc-b657-4471-8934-196a32ed959a", "user_defined_name":"AddressBook"}}], "processes":[{"set_data_structure":{"id":"57c79fb5-1a97-43d1-902b-2992bb42c6de", "from":{"structured_data_to_data_structure":{"id":"0aa32eba-e652-4ec2-a91b-ea8d14c9439c", "source":{"type_select_unicode_text_process":{"type_select_unicode_text":{"type_select_reference":{"reference":{"id":"7528ff24-05b4-4d19-b616-3b71446987a5", "function_reference":{"basic_unicode_text":{"id":"6f82f3bf-80cd-4bf8-80c9-dfb0f7bfbe2e", "value":{"value":"5970b465-bdfb-496b-bb8d-15ca9b72ac51"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"67083c43-572b-4f96-8ceb-cc1f6bc6daf8", "value":{"value":"38a04739-a1f1-41e6-83c4-ed9c7fd58acb"}}}}}}}}}}, "to":{"reference":{"id":"2031495d-eaa6-4238-9f5e-3ac0e10a08f9", "function_reference":{"basic_unicode_text":{"id":"b480ce93-07a1-4a78-9a85-86ae27974064", "value":{"value":"5970b465-bdfb-496b-bb8d-15ca9b72ac51"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"4c091be1-b975-495e-82b0-fea6b438003c", "value":{"value":"e39e5ddc-b657-4471-8934-196a32ed959a"}}}}}}}, {"set_unicode_text":{"id":"4cd5c5ac-96d8-46eb-b744-b27ac49c7adc", "from":{"type_select_unicode_text":{"render_document_template":{"id":"82cf3152-b2e9-4dae-8ef5-d1935b1a3a12", "user_defined_name":"Avery-80x50-Labels", "user_comment":"You can call this document from a logix function, it returns base64 (text) so it can output to a text parameter", "template_file":{"basic_unicode_text":{"id":"689ebb38-b325-4856-a3b3-c4317dcaf98d", "value":{"value":"Default:_templates/Avery-80x50-Labels.doc.tpl"}}}, "callable_id":{"basic_unicode_text":{"id":"0f97e99e-7eb1-4af9-81d5-affa10b92baa", "value":{"value":"f53459cc-af92-45c4-966b-e872a344673d"}}}, "inputs":{"4c929cbc-f2dc-4d69-b407-89563bd0d69e":{"type_select_boolean":{"type_select_reference":{"reference":{"id":"4a3908bd-0814-4944-8ba8-995fd72986d4", "function_reference":{"basic_unicode_text":{"id":"80f8505c-46ea-4b13-9e51-adc777ab09ce", "value":{"value":"5970b465-bdfb-496b-bb8d-15ca9b72ac51"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"51149418-8078-410b-90fd-dfdcbd963c88", "value":{"value":"e39e5ddc-b657-4471-8934-196a32ed959a"}}}}}}}}}}}, "to":{"reference":{"id":"db60593e-5366-4aa4-bb89-d2a5949349f5", "function_reference":{"basic_unicode_text":{"id":"8309be99-3034-45d2-8f63-4d242e0ddfcc", "value":{"value":"5970b465-bdfb-496b-bb8d-15ca9b72ac51"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"428e16fe-b541-4a39-8cb3-47f8d02b9539", "value":{"value":"cb0164d7-3e48-43db-9acd-f5806aac6aa3"}}}}}}}]}}, {"api_receiver_function":{"id":"4b136d8d-14b5-4c58-a46a-b108032538f4", "user_defined_name":"GeneratePDF-Secret", "system_input_parameters":[{"basic_unicode_text":{"id":"a83acd74-0e02-4f19-9f11-1d9460e64b1c", "user_defined_name":"URL", "user_comment":"The URL that was used to reach this function"}}, {"basic_unicode_text":{"id":"2e635bff-0ab1-4ad6-b7ba-793becb3ce19", "user_defined_name":"Method", "user_comment":"The HTTP method that was used to call this function"}}, {"basic_unicode_text":{"id":"e37c8d7e-ca0d-4b56-a41a-ceee53776b6c", "user_defined_name":"Source Address", "user_comment":"The IP address of the client that called this function"}}, {"data_structure":{"id":"4fca0d4f-0340-4956-b56b-e3b924f89fed", "user_defined_name":"Headers", "user_comment":"The headers that were sent with the request"}}, {"data_structure":{"id":"2be99e3c-76b7-4ae7-a6a1-fe724eccaa20", "user_defined_name":"Cookies", "user_comment":"The cookies that were sent with the request"}}], "internal_parameters":[{"data_structure":{"id":"d1089757-5623-42a9-aeb0-1c34978d8b06", "user_defined_name":"sbase_address_data", "value":{"ds_object":{"id":"6cb952b6-ad54-497c-9093-40199686ef12", "user_defined_name":"addresses", "properties":[{"ds_object":{"id":"0571c518-7b0c-4e3d-833b-a2fbc65afb38", "user_defined_name":"Object 1"}}]}}}}, {"basic_unicode_text":{"id":"c928dcc5-48dc-470d-89df-9f685abab19d", "user_defined_name":"json_data", "value":{}}}, {"data_structure":{"id":"c63c881d-1c43-4b21-81f0-0d14e86eba8a", "user_defined_name":"tmpDs", "value":{"ds_object":{"id":"f3a965df-44b7-4b50-9585-abcd7a263863", "user_defined_name":"addresses", "properties":[{"type_select_any_data_type":{"type_select_data_structure":{"data_structure":{"id":"f1c6eb03-7679-4caa-9a6b-e9d59e073da2", "user_defined_name":"addresses", "value":{"ds_array":{"id":"79fb21bd-9631-4718-9a1b-8ec04f8c5d95", "user_defined_name":"Array 1"}}}}}}]}}}}], "custom_output_parameters":[{"basic_unicode_text":{"id":"aa8ffcb6-c568-4105-9594-a191a3a04c94", "user_defined_name":"body", "value":{}}}], "system_output_parameters":[{"basic_number":{"id":"a8775f91-2831-4f9b-9044-f570e0c75ed9", "user_defined_name":"Response Status Code", "user_comment":"The HTTP status code to return to the caller. Defaults to 200.", "value":{"value":"200"}}}, {"data_structure":{"id":"ff97ce87-725b-4883-a18c-8516a5468709", "user_defined_name":"Response Headers", "user_comment":"The headers to return to the caller - these must be populated with an object containing named header values using a `set data structure` process."}}, {"basic_unicode_text":{"id":"c3c62439-acb8-4a76-b922-f997b9dad152", "user_defined_name":"Response Content Type", "user_comment":"The content type header and encoding method to use in a HTTP response", "value":{"value":"application/pdf"}}}], "processes":[{"set_data_structure":{"id":"91b33f22-1218-4e57-a5cf-91d51725f7a4", "from":{"type_select_supabase":{"supabase_call":{"id":"f501e70a-23eb-461e-8a74-ecf10c53bd61", "user_comment":"⬅️ ℹ️ To handle the response from this block try wrapping it in a `Set Data Structure` block. This will allow you to fill a data structure with the response.", "api_url":{"type_select_unicode_text":{"get_env_variable":{"id":"962d6ff6-2220-4ca5-aa02-60b0d7471607", "var_name":{"basic_unicode_text":{"id":"91fd9028-b717-4ea9-a155-6468b587937f", "value":{"value":"SUPA_URL"}}}}}}, "api_key":{"secret":{"id":"10962b7c-d4fd-4f37-869d-f6735a73f0f0", "secret_name":{"basic_unicode_text":{"id":"67428b2c-5067-420b-bc4c-2618757f2253", "value":{"value":"SupabaseSecret"}}}}}, "table_name":{"type_select_unicode_text":{"basic_unicode_text":{"id":"605c1cd8-4389-4774-b9f1-80377e512b6e", "value":{"value":"ChristmasCards"}}}}, "query_builder_structure":{"data_structure":{"id":"9bb14f6c-d628-42f8-a332-5bd1c4e0451a", "user_defined_name":"Data Structure", "value":{"ds_object":{"id":"ce6e4c7c-f1de-4ae1-829a-adbf0f743204", "user_defined_name":"Object", "properties":[{"ds_array":{"id":"8279b91f-6ca6-435f-ae0b-a347c66d2c45", "user_defined_name":"select", "items":[{"ds_object":{"id":"525dcaca-f325-41f5-9633-2ccff429cfeb", "user_defined_name":"*"}}]}}]}}}}, "database_connection_config_name":{"type_select_unicode_text":{"basic_unicode_text":{"id":"653e0d09-7b2e-42b7-bef3-1fe7ad495eda", "value":{"value":"custom"}}}}}}}, "to":{"reference":{"id":"b441bcc8-cc94-4314-872b-83e6ae04d3d1", "function_reference":{"basic_unicode_text":{"id":"a3be2000-297a-4e4e-9b7d-83e85b0c2594", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"a32e2bae-852b-4e00-9f3d-1ac42930393f", "value":{"value":"d1089757-5623-42a9-aeb0-1c34978d8b06"}}}}}}}, {"set_data_structure":{"id":"bdd88877-7483-45cf-b71e-330e3bec6200", "from":{"type_select_data_structure":{"type_select_reference":{"data_structure_node_reference":{"id":"0ef1155d-60e2-40cf-ab06-5f401229f0c0", "data_structure":{"type_select_reference":{"reference":{"id":"c721fdfe-e676-4ea8-ac1b-d44c4f236bc6", "function_reference":{"basic_unicode_text":{"id":"dd70c2f1-209b-4ba4-bc6a-abd8efb8a1cd", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"47bdf74e-aa6a-47af-bc84-1c5248c38c9c", "value":{"value":"d1089757-5623-42a9-aeb0-1c34978d8b06"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"0e61ab48-86bd-48f6-ad26-a62a981842f7", "value":{"value":"Response Body"}}}}}}}, "to":{"data_structure_node_reference":{"id":"87738711-910b-4802-a0d9-f8e96cc8c922", "data_structure":{"type_select_reference":{"reference":{"id":"06d0b87d-2bbd-422c-84d9-84e8fe37700b", "function_reference":{"basic_unicode_text":{"id":"c782ad28-49b2-4bb6-b6b2-905d221ebb29", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"3c176f61-bfc9-4958-8917-6f20404f6eef", "value":{"value":"c63c881d-1c43-4b21-81f0-0d14e86eba8a"}}}}}}, "node_reference":{"basic_unicode_text":{"id":"2034bb07-a3b4-43db-a044-485831cc47f9", "value":{"value":"addresses"}}}}}}}, {"set_unicode_text":{"id":"97ff2e26-20fa-43ed-b167-ae49ea90ac74", "from":{"data_structure_to_unicode_text":{"id":"2e92ac7b-6e12-45ca-8250-d13cabc74cd8", "data":{"type_select_data_structure":{"type_select_reference":{"reference":{"id":"6947079a-0962-4033-8ded-1fd3597add72", "function_reference":{"basic_unicode_text":{"id":"ef495cd3-3896-4de1-af9c-38ef601e6e39", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"967468ec-5d85-4740-a5c8-55faff4359d9", "value":{"value":"c63c881d-1c43-4b21-81f0-0d14e86eba8a"}}}}}}}}}, "to":{"reference":{"id":"9e486258-3b9f-4e83-aa58-16e328488456", "function_reference":{"basic_unicode_text":{"id":"79be032a-642f-4773-a68b-798c5597b022", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"ea19e08c-eaf3-4179-b998-b261b8a5fc9f", "value":{"value":"c928dcc5-48dc-470d-89df-9f685abab19d"}}}}}}}, {"set_unicode_text":{"id":"a8af4be6-30ff-4b51-a6cf-505c1ef268bd", "from":{"type_select_unicode_text":{"function_call":{"id":"74bf9c9e-5446-4414-aab8-85ed809c064c", "user_defined_name":"DoMailMerge", "user_comment":"⬅️ ℹ️ To handle the response from this block wrap it in a `Set` block. If the function returns a single value use a `Set` block for the value type it returns. If the function returns multiple values use `Set Data Structure`. \n ", "logix_path":{"basic_unicode_text":{"id":"773dcf75-d0ce-4b59-9fea-1fa4c53b9717", "value":{"value":"this"}}}, "function_reference":{"basic_unicode_text":{"id":"456ad896-6945-46b9-8fc0-d96586d300b5", "value":{"value":"5970b465-bdfb-496b-bb8d-15ca9b72ac51"}}}, "inputs":{"38a04739-a1f1-41e6-83c4-ed9c7fd58acb":{"type_select_boolean":{"type_select_reference":{"reference":{"id":"c08e7857-1b1f-4529-a372-7445eaaf1219", "function_reference":{"basic_unicode_text":{"id":"491f7901-d681-41db-b94b-90344250e4b4", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"07b6517a-4d12-4b3f-a6a2-502e18eb15fd", "value":{"value":"c928dcc5-48dc-470d-89df-9f685abab19d"}}}}}}}}}}}, "to":{"reference":{"id":"ab973bcd-db1a-47d0-a368-b7ebb21ff526", "function_reference":{"basic_unicode_text":{"id":"5ae4748d-0a68-4873-a953-aae4d977bff0", "value":{"value":"4b136d8d-14b5-4c58-a46a-b108032538f4"}}}, "function_parameter_reference":{"basic_unicode_text":{"id":"edc78ea6-32ba-4a73-a1bf-3667276fcd79", "value":{"value":"aa8ffcb6-c568-4105-9594-a191a3a04c94"}}}}}}}]}}]}}