Newer guide available
This guide shows older screens. Use the newer guide for today's steps.
Read the newer guideThis guide shows you how to build your first Zap with Zapier Copilot, using the Flyntlok triggers and actions.
These Flyntlok triggers and actions are available:
- Trigger: Sales Order Processed
- Trigger: New Customer Activity
- Action: Create a new Lead
Before you start: Create your Zapier account and connect Flyntlok to Zapier. See How do I create a Zapier account and connect it to Flyntlok?
Build the Zap
Zapier Copilot is an AI assistant in the Zap editor. You describe the Zap in plain words, and Copilot adds the steps for you. Copilot comes with both the Free plan and the Professional plan.
- Click Create in the left menu.

- Click Zaps. The Zap editor opens.

- In the Copilot box, describe what you want the Zap to do. Start from one of the example prompts below.

- Press Enter. Copilot starts setting up the Zap.
- Answer any questions Copilot asks.
- When Copilot asks, sign in to each account the Zap uses, like Flyntlok or Gmail.

Heads up: Testing creates a real record in Flyntlok. Delete test leads once the Zap works.
- When Copilot asks you to test, click Test step.

- Click Publish in the Copilot chat or in the top-right corner to turn on the Zap.

Example prompts
Trigger: Sales Order Processed (Free plan)
When a sales order is processed in Flyntlok, use Email by Zapier to send an email to <insert email address>. Include the customer name and the sales order details in the email.
Trigger: New Customer Activity (Free plan)
When a new customer activity is created in Flyntlok, use Email by Zapier to send an email to me. Include the customer name, contact name, activity type, note, follow-up date, and the link to the customer in Flyntlok.
Action: Create a new Lead (Professional plan)
When I receive a new email with the subject "New website inquiry", create a lead in Flyntlok. The lead should include the following information from the email body: contact name: customer name, contact email: email, contact phone number: phone number, and internal note: any additional information from the email body. The lead name should be 'Website inquiry:' and the customer name from the email body. Don't include any information from the actual email sender. Only continue if the email body has a phone number and/or an email address.
This Zap needs an extra step to pull the lead details out of the email, so it needs the Professional plan.
Free plan: add this sentence to every prompt
Use only one trigger and one action. Do not add Filter, Formatter, Paths, Code, or other steps between them, and do not use premium apps or webhooks.
Without it, Copilot can add steps the Free plan can't run, and the Zap won't turn on. After Copilot builds the Zap, check that it has only 2 steps. If it has more, tell Copilot: "Remove every step except the trigger and the action."
Tips for a good prompt
- Name the app and the event that starts the Zap, like "a new customer activity in Flyntlok".
- Name the app and the action the Zap takes, like "create a new lead in Flyntlok".
- List the fields you want to send.
- On the Professional plan, you can also ask Copilot to add more steps, like a filter or a step that cleans up text.
Add a code step for custom logic (Professional plan)
Some Zaps need custom logic that the built-in Zapier steps can't handle. When your Zap description includes data to parse, like an email, Copilot adds a Code by Zapier step and writes the JavaScript for you. If Copilot doesn't add one, ask it to add a Code by Zapier step.
Typical uses:
- Parse an email for values like the customer name, phone number or equipment model, for example from a website lead form or a manufacturer lead email
- Format dates, phone numbers or currency values
- Map one value to another, like a website form source to a Flyntlok lead source
To get correct code from Copilot:
- Give Copilot a full sample of the input, like a single email.
- Name each output field the next step needs.
- Tell Copilot what to return when a value is missing.
- Test the step in Zapier with sample data.
- Turn on the Zap only after the test output is correct.
Example prompt to parse an email:
Add a Code by Zapier step that uses JavaScript. The input is the email body. Get the customer name, phone number, email address, and equipment model from the email. Return them as customerName, phone, email, and model. If a value is missing, return an empty string for that value. Here is a sample email: <paste the sample email here>
Troubleshooting
- A Zap stops with an error: Open the Zap and click Zap runs to see the error. Fix the step, then turn the Zap on again.
- The Zap won't turn on (Free plan): The Zap has more than 2 steps or uses a premium app. Tell Copilot: "Remove every step except the trigger and the action."
- The trigger test finds no data: The trigger only looks at recent records. Sales Order Processed finds sales orders processed in the last 30 minutes, and New Customer Activity finds activities logged in the last 60 minutes. Process a sales order or log a customer activity in Flyntlok, then test again.
- The Zap runs, but no email arrives: Check the spam folder. Then open Zap runs and check the email step.
- The Zap stops after it worked before: The account may have used all its tasks for the month. Check the task usage in Zapier, or upgrade the plan.
- The Zap is slow to run: Zapier checks some triggers on a schedule, and the wait between checks is longer on the Free plan.
- A new lead has empty or wrong fields: The website form email may have changed. Give Copilot a new sample email and update the code step.
- Test leads stay in Flyntlok: Testing creates real records. Delete the test leads once the Zap works.
What Flyntlok supports
You own your Zapier account and the Zaps you build. If you have trouble connecting your Flyntlok account to Zapier, contact Flyntlok Support.
For more on the Flyntlok app, see the Flyntlok app page on Zapier. For more help with Copilot, see Zapier's guide Use the power of AI to generate Zap workflows. For Zapier basics, see learn.zapier.com.