Skip to main content
Question

Import into 2 tables at once

  • Oct 29, 2019 2:29 PM UTC
  • 4 replies
  • 79 views

Our Wordpress website uses Gravity Forms and I use Zapier to bring the data into Quickbase.  The issue I am having is it is creating a Company Name (in the Companies Table) and saving Contact info (in the Contacts Table) but I can't figure out a way to relate the company to the contact automatically.  I currently have an extra field in the Contacts table that pulls in the company name and then I can manually link the related company.  Can anyone think of a way to relate this automatically with a webhook, automation, etc?

------------------------------
Mark Comish
------------------------------
This topic has been closed for replies.

4 replies

AdamKeever1
Forum|alt.badge.img+2
  • Qrew Commander
  • Oct 29, 2019 2:48 PM UTC
Why do you need two tables?

------------------------------
Adam Keever
------------------------------

  • Qrew Corporal
  • Oct 30, 2019 3:47 AM UTC
Post company name into contacts table as well and then setup a relationship between company and contact table using company name.

------------------------------
Babi Panjikar
------------------------------

Forum|alt.badge.img+1

You can do what Babi suggests, or alternatively.

While I am not 100% familiar with Zapier's system, if it is similar to workato, here is how I would build out the recipe (workato's term):

1. Pull data from Gravity forms.

2. Create Company Records in QB.

3. Query the Company Records table and extract the Record ID#'s (or other Keys).

4. Then in your call to create the Contact record, pass the Key from #3 into the Related Company field.

​

------------------------------
Justin Lapier 
Synctivate Inc.
------------------------------


KeithJusas
Forum|alt.badge.img+7
  • Qrew Cadet
  • Nov 10, 2019 11:03 PM UTC
Mike,
  we may have an option for you.  Our Triggers for Quick Base add-on can be fired to search the Companies table to get the record id of the Company record and then update the Contact record to connect it properly. 

updated...I created a sample app and a sample trigger so I can demo this quickly if you are interested.

Let me know if you'd like to know more about this.
Keith
Juiced

------------------------------
Keith Jusas
------------------------------