1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9    "formInputData": {
10        "firstname": "John",
11        "lastname": "Doe",
12        "companyName": "ACME",
13        "companyWebsite": "https://example.com",
14        "message": "Hello, I am John from...",
15        "numberOfEmployees": 10,
16        "linkedinProfile": "https://linkedin.com/in/...",
17        "phoneNumber": "+1234567890",
18        "email": "janedoe@example.com",
19        "howDidYouHearAboutUs": "Google, search engine...",
20    },
21    "message": """Hey t,here ๐
22
23Iโm [Your Name] from [Your Company], and we offer cutting-edge [offers, solutions] tailored for [Your Target Audience]. Our [solutions] handle everything from [Key Function 1] to [Key Function 2], giving you more time to focus on what you do bestโ[Your Key Business Activity] and growing your business.
24
25Curious to see how we can transform your operations?
26
27Let's chat! Test drive our [service, platform] on [Your Website]
28
29Best,
30[Your Name]
31[Your Company]""",
32}
33
34
35run = client.actor("offpistaa/leadformsubmitter").call(run_input=run_input)
36
37
38print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
39for item in client.dataset(run["defaultDatasetId"]).iterate_items():
40    print(item)
41
42